Searched refs:ParentStack (Results 1 – 2 of 2) sorted by relevance
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ParentMapContext.cpp | 354 if (ParentStack.empty()) in addParent() 369 if (const auto *D = ParentStack.back().get<Decl>()) in addParent() 371 else if (const auto *S = ParentStack.back().get<Stmt>()) in addParent() 374 NodeOrVector = new DynTypedNode(ParentStack.back()); in addParent() 388 bool Found = ParentStack.back().getMemoizationData() && in addParent() 389 llvm::is_contained(*Vector, ParentStack.back()); in addParent() 391 Vector->push_back(ParentStack.back()); in addParent() 405 ParentStack.push_back(createDynTypedNode(Node)); in TraverseNode() 407 ParentStack.pop_back(); in TraverseNode() 443 ParentStack.push_back(DynTypedNode::create(*StmtNode)); in dataTraverseStmtPre() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 345 llvm::SmallVectorImpl<SelectedASTNode::ReferenceType> &ParentStack) { in findDeepestWithKind() argument 352 std::cref(ASTSelection), {ParentStack.begin(), ParentStack.end()}}); in findDeepestWithKind() 360 std::cref(ASTSelection), {ParentStack.begin(), ParentStack.end()}}); in findDeepestWithKind() 365 ParentStack.push_back(std::cref(ASTSelection)); in findDeepestWithKind() 367 findDeepestWithKind(Child, MatchingNodes, Kind, ParentStack); in findDeepestWithKind() 368 ParentStack.pop_back(); in findDeepestWithKind() 375 llvm::SmallVector<SelectedASTNode::ReferenceType, 16> ParentStack; in findDeepestWithKind() local 376 findDeepestWithKind(ASTSelection, MatchingNodes, Kind, ParentStack); in findDeepestWithKind()
|