Lines Matching refs:checkers
1 //=- ClangSACheckersEmitter.cpp - Generate Clang SA checkers tables -*- C++ -*-
10 // This tablegen backend emits Clang Static Analyzer checkers tables.
22 // Static Analyzer Checkers Tables generation
74 llvm::DenseSet<const Record*> Checkers;
85 llvm::DenseSet<const Record *> &checkers = recordGroupMap[package]->Checkers;
87 I = checkers.begin(), E = checkers.end(); I != E; ++I)
88 recordGroupMap[group]->Checkers.insert(*I);
98 std::vector<Record*> checkers = Records.getAllDerivedDefinitions("Checker");
100 for (unsigned i = 0, e = checkers.size(); i != e; ++i)
101 checkerRecIndexMap[checkers[i]] = i;
103 // Invert the mapping of checkers to package/group into a one to many
104 // mapping of packages/groups to checkers.
130 for (unsigned i = 0, e = checkers.size(); i != e; ++i) {
131 Record *R = checkers[i];
145 info.Checkers.insert(R);
147 recordGroupMap[package]->Checkers.insert(R);
161 recordGroupMap[DI->getDef()]->Checkers.insert(R);
164 // If a package is in group, add all its checkers and its sub-packages
165 // checkers into the group.
223 for (unsigned i = 0, e = checkers.size(); i != e; ++i) {
224 const Record &R = *checkers[i];
254 // Walk through the packages/groups/checkers emitting an array for each
255 // set of checkers and an array for each set of subpackages.
263 llvm::DenseSet<const Record *> &checkers = I->second.Checkers;
264 if (!checkers.empty()) {
269 I = checkers.begin(), E = checkers.end(); I != E; ++I)
304 if (I->second.Checkers.empty())