Home
last modified time | relevance | path

Searched refs:Parents (Results 1 – 8 of 8) sorted by relevance

/external/clang/utils/TableGen/
DClangDiagnosticsEmitter.cpp71 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in getCategoryFromDiagGroup() local
72 for (unsigned i = 0, e = Parents.size(); i != e; ++i) { in getCategoryFromDiagGroup()
73 CatName = getCategoryFromDiagGroup(Parents[i], DiagGroupParents); in getCategoryFromDiagGroup()
346 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in isSubGroupOfGroup() local
347 for (unsigned i = 0, e = Parents.size(); i != e; ++i) in isSubGroupOfGroup()
348 if (isSubGroupOfGroup(Parents[i], GName)) in isSubGroupOfGroup()
389 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in markGroup() local
390 for (unsigned i = 0, e = Parents.size(); i != e; ++i) in markGroup()
391 markGroup(Parents[i]); in markGroup()
448 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in compute() local
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DTraversalChecker.cpp41 const ParentMap &Parents = C.getLocationContext()->getParentMap(); in checkBranchCondition() local
42 Parent = Parents.getParent(Condition); in checkBranchCondition()
DDeadStoresChecker.cpp129 ParentMap& Parents; member in __anon2d72c4130211::DeadStoreObs
142 : cfg(cfg), Ctx(ctx), BR(br), Checker(checker), AC(ac), Parents(parents), in DeadStoreObs()
293 DeadStoreKind dsk = Parents.isConsumedExpr(B) in observeStmt()
304 const Stmt *parent = Parents.getParentIgnoreParenCasts(U); in observeStmt()
/external/llvm/lib/CodeGen/AsmPrinter/
DDIEHash.cpp94 SmallVector<const DIE *, 1> Parents; in addParentContext() local
97 Parents.push_back(Cur); in addParentContext()
105 for (SmallVectorImpl<const DIE *>::reverse_iterator I = Parents.rbegin(), in addParentContext()
106 E = Parents.rend(); in addParentContext()
DDwarfUnit.cpp903 SmallVector<DIScope, 1> Parents; in getParentContextString() local
905 Parents.push_back(Context); in getParentContextString()
916 for (SmallVectorImpl<DIScope>::reverse_iterator I = Parents.rbegin(), in getParentContextString()
917 E = Parents.rend(); in getParentContextString()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp645 const auto &Parents = ActiveASTContext->getParents(Node); in memoizedMatchesAncestorOfRecursively() local
646 assert(!Parents.empty() && "Found node that is not in the parent map."); in memoizedMatchesAncestorOfRecursively()
647 if (Parents.size() == 1) { in memoizedMatchesAncestorOfRecursively()
649 const ast_type_traits::DynTypedNode Parent = Parents[0]; in memoizedMatchesAncestorOfRecursively()
664 std::deque<ast_type_traits::DynTypedNode> Queue(Parents.begin(), in memoizedMatchesAncestorOfRecursively()
665 Parents.end()); in memoizedMatchesAncestorOfRecursively()
/external/clang/lib/AST/
DASTContext.cpp8290 return Visitor.Parents; in buildMap()
8296 ParentMapASTVisitor(ASTContext::ParentMap *Parents) : Parents(Parents) { in ParentMapASTVisitor() argument
8326 auto &NodeOrVector = (*Parents)[Node]; in TraverseNode()
8366 ASTContext::ParentMap *Parents; member in __anon299e30c00211::ParentMapASTVisitor
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp3872 std::set<const void *> Parents; in TEST() local
3874 if (!Parents.insert(Parent.getMemoizationData()).second) { in TEST()