/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
H A D | ASTSelection.h | 101 ArrayRef<SelectedASTNode::ReferenceType> getParents() { return Parents; } 138 ArrayRef<SelectedASTNode::ReferenceType> Parents, 140 : SelectedNode(SelectedNode), Parents(Parents.begin(), Parents.end()), 147 llvm::SmallVector<SelectedASTNode::ReferenceType, 8> Parents; member in class:clang::tooling::CodeRangeASTSelection 137 CodeRangeASTSelection(SelectedASTNode::ReferenceType SelectedNode, ArrayRef<SelectedASTNode::ReferenceType> Parents, bool AreChildrenSelected) argument
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
H A D | ASTSelection.cpp | 253 llvm::SmallVector<SelectedASTNode::ReferenceType, 8> Parents; member in struct:__anon3507::SelectedNodeWithParents 293 const Stmt *Parent = Parents[Parents.size() - 1].get().Node.get<Stmt>(); 299 for (; (ParentIndex + 1) <= Parents.size() && isa<ImplicitCastExpr>(Parent); 302 Parents[Parents.size() - ParentIndex - 1].get().Node.get<Stmt>(); 310 Node = Parents[Parents.size() - ParentIndex]; 312 Parents.pop_back(); 398 return CodeRangeASTSelection(Selected.Node, Selected.Parents, [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
H A D | USRLocFinder.cpp | 353 auto Parents = Context.getParents(Loc); local 355 if (!Parents.empty()) { 360 if (const auto *NSL = Parents[0].get<NestedNameSpecifierLoc>()) { 365 if (const auto *TL = Parents[0].get<TypeLoc>()) 465 auto Parents = Context.getParents(Node); local 467 if (Parents.size() != 1) 470 Parents[0].getNodeKind())) 471 return Parents[0].template get<Decl>(); 472 return getClosestAncestorDecl(Parents[0]); 478 auto Parents local [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | TraversalChecker.cpp | 42 const ParentMap &Parents = C.getLocationContext()->getParentMap(); local 43 Parent = Parents.getParent(Condition);
|
H A D | DeadStoresChecker.cpp | 138 ParentMap& Parents; member in class:__anon3319::DeadStoreObs 152 : cfg(cfg), Ctx(ctx), BR(br), Checker(checker), AC(ac), Parents(parents), 354 DeadStoreKind dsk = Parents.isConsumedExpr(B) 365 const Stmt *parent = Parents.getParentIgnoreParenCasts(U);
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DIEHash.cpp | 86 SmallVector<const DIE *, 1> Parents; local 89 Parents.push_back(Cur); 97 for (SmallVectorImpl<const DIE *>::reverse_iterator I = Parents.rbegin(), 98 E = Parents.rend();
|
H A D | DwarfUnit.cpp | 740 SmallVector<const DIScope *, 1> Parents; local 742 Parents.push_back(Context); 753 for (const DIScope *Ctx : make_range(Parents.rbegin(), Parents.rend())) {
|
/freebsd-12-stable/contrib/llvm-project/clang/utils/TableGen/ |
H A D | ClangDiagnosticsEmitter.cpp | 70 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); local 71 for (unsigned i = 0, e = Parents.size(); i != e; ++i) { 72 CatName = getCategoryFromDiagGroup(Parents[i], DiagGroupParents); 323 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); local 324 for (unsigned i = 0, e = Parents.size(); i != e; ++i) 325 if (isSubGroupOfGroup(Parents[i], GName)) 366 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); local 367 for (unsigned i = 0, e = Parents.size(); i != e; ++i) 368 markGroup(Parents[i]); 425 const std::vector<Record*> &Parents local [all...] |
/freebsd-12-stable/contrib/llvm-project/clang/lib/ASTMatchers/ |
H A D | ASTMatchFinder.cpp | 735 const auto &Parents = ActiveASTContext->getParents(Node); local 736 if (Parents.empty()) { 756 if (Parents.size() == 1) { 758 const ast_type_traits::DynTypedNode Parent = Parents[0]; 773 std::deque<ast_type_traits::DynTypedNode> Queue(Parents.begin(), 774 Parents.end());
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/ASTDiff/ |
H A D | ASTDiff.cpp | 386 const auto &Parents = AST.getParents(*S); local 387 if (Parents.empty()) 389 const auto &P = Parents[0];
|
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 6653 const auto &Parents = Finder->getASTContext().getParents(Node); local 6655 llvm::SmallVector<ast_type_traits::DynTypedNode, 8> Stack(Parents.begin(), 6656 Parents.end());
|
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTContext.h | 3030 std::map<ast_type_traits::TraversalKind, std::unique_ptr<ParentMap>> Parents; member in class:clang::ASTContext::DynTypedNodeList
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTContext.cpp | 1084 Parents.clear(); 10576 MapTy *Parents) { 10590 auto &NodeOrVector = (*Parents)[MapNode]; 10665 std::unique_ptr<ParentMap> &P = Parents[Traversal]; 10575 TraverseNode(T Node, MapNodeTy MapNode, BaseTraverseFn BaseTraverse, MapTy *Parents) argument
|