Home
last modified time | relevance | path

Searched refs:FieldChain (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DLLVMConventionsChecker.cpp213 llvm::SmallVector<FieldDecl*, 10> FieldChain; member in __anon4cb5d6b90211::ASTFieldVisitor
237 FieldChain.push_back(D); in Visit()
251 FieldChain.pop_back(); in Visit()
259 << FieldChain.front()->getName() << "' that allocates heap memory"; in ReportError()
260 if (FieldChain.size() > 1) { in ReportError()
263 for (llvm::SmallVectorImpl<FieldDecl*>::iterator I=FieldChain.begin(), in ReportError()
264 E=FieldChain.end(); I!=E; ++I) { in ReportError()
272 os << " (type " << FieldChain.back()->getType().getAsString() << ")"; in ReportError()
283 os.str(), FieldChain.front()->getLocStart()); in ReportError()
DCallAndMessageChecker.cpp108 llvm::SmallVector<const FieldDecl *, 10> FieldChain; in PreVisitProcessArg() member in CallAndMessageChecker::PreVisitProcessArg::FindUninitializedField
127 FieldChain.push_back(*I); in PreVisitProcessArg()
138 FieldChain.pop_back(); in PreVisitProcessArg()
159 if (F.FieldChain.size() == 1) in PreVisitProcessArg()
160 os << " (e.g., field: '" << F.FieldChain[0] << "')"; in PreVisitProcessArg()
165 DI = F.FieldChain.begin(), DE = F.FieldChain.end(); DI!=DE;++DI){ in PreVisitProcessArg()