Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DLLVMConventionsChecker.cpp218 SmallVector<FieldDecl*, 10> FieldChain; member in __anon13ed524d0211::ASTFieldVisitor
245 FieldChain.push_back(D); in Visit()
258 FieldChain.pop_back(); in Visit()
266 << FieldChain.front()->getName() << "' that allocates heap memory"; in ReportError()
267 if (FieldChain.size() > 1) { in ReportError()
270 for (SmallVectorImpl<FieldDecl*>::iterator I=FieldChain.begin(), in ReportError()
271 E=FieldChain.end(); I!=E; ++I) { in ReportError()
279 os << " (type " << FieldChain.back()->getType().getAsString() << ")"; in ReportError()
290 FieldChain.front(), BR.getSourceManager()); in ReportError()
DCallAndMessageChecker.cpp219 SmallVector<const FieldDecl *, 10> FieldChain; in PreVisitProcessArg() member in CallAndMessageChecker::PreVisitProcessArg::FindUninitializedField
236 FieldChain.push_back(I); in PreVisitProcessArg()
247 FieldChain.pop_back(); in PreVisitProcessArg()
267 if (F.FieldChain.size() == 1) in PreVisitProcessArg()
268 os << " (e.g., field: '" << *F.FieldChain[0] << "')"; in PreVisitProcessArg()
273 DI = F.FieldChain.begin(), DE = F.FieldChain.end(); DI!=DE;++DI){ in PreVisitProcessArg()