| /src/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
| H A D | ASTSelection.h | 102 ArrayRef<SelectedASTNode::ReferenceType> getParents() { return Parents; } in getParents() 139 ArrayRef<SelectedASTNode::ReferenceType> Parents, in CodeRangeASTSelection() argument 141 : SelectedNode(SelectedNode), Parents(Parents.begin(), Parents.end()), in CodeRangeASTSelection() 148 llvm::SmallVector<SelectedASTNode::ReferenceType, 8> Parents; variable
|
| /src/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | ASTSelection.cpp | 253 llvm::SmallVector<SelectedASTNode::ReferenceType, 8> Parents; member 293 const Stmt *Parent = Parents[Parents.size() - 1].get().Node.get<Stmt>(); in canonicalize() 299 for (; (ParentIndex + 1) <= Parents.size() && isa<ImplicitCastExpr>(Parent); in canonicalize() 302 Parents[Parents.size() - ParentIndex - 1].get().Node.get<Stmt>(); in canonicalize() 310 Node = Parents[Parents.size() - ParentIndex]; in canonicalize() 312 Parents.pop_back(); in canonicalize() 398 return CodeRangeASTSelection(Selected.Node, Selected.Parents, in create() 409 Selected.Parents.push_back(Selected.Node); in create() 410 return CodeRangeASTSelection(Selected.Node, Selected.Parents, in create() 424 for (const auto &Parent : llvm::reverse(Parents)) { in isInFunctionLikeBodyOfCode() [all …]
|
| /src/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 373 auto Parents = Context.getParents(Loc); in VisitTypeLoc() local 375 if (!Parents.empty()) { in VisitTypeLoc() 380 if (const auto *NSL = Parents[0].get<NestedNameSpecifierLoc>()) { in VisitTypeLoc() 385 if (const auto *TL = Parents[0].get<TypeLoc>()) in VisitTypeLoc() 484 auto Parents = Context.getParents(Node); in getClosestAncestorDecl() local 486 if (Parents.size() != 1) in getClosestAncestorDecl() 488 if (ASTNodeKind::getFromNodeKind<Decl>().isBaseOf(Parents[0].getNodeKind())) in getClosestAncestorDecl() 489 return Parents[0].template get<Decl>(); in getClosestAncestorDecl() 490 return getClosestAncestorDecl(Parents[0]); in getClosestAncestorDecl() 496 auto Parents = Context.getParents(Loc); in getParentTypeLoc() local [all …]
|
| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | ParentMapContext.cpp | 26 void ParentMapContext::clear() { Parents.reset(); } in clear() 372 void addParent(MapNodeTy MapNode, MapTy *Parents) { in addParent() argument 386 auto &NodeOrVector = (*Parents)[MapNode]; in addParent() 420 MapTy *Parents) { in TraverseNode() argument 423 addParent(MapNode, Parents); in TraverseNode() 479 if (!Parents) in getParents() 482 Parents = std::make_unique<ParentMap>(ASTCtx); in getParents() 483 return Parents->getParents(getTraversalKind(), Node); in getParents()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ErrnoChecker.cpp | 75 const DynTypedNodeList Parents = ParentCtx.getParents(*S); in isInCondition() local 76 if (Parents.empty()) in isInCondition() 78 const auto *ParentS = Parents[0].get<Stmt>(); in isInCondition()
|
| H A D | TraversalChecker.cpp | 42 const ParentMap &Parents = C.getLocationContext()->getParentMap(); in checkBranchCondition() local 43 Parent = Parents.getParent(Condition); in checkBranchCondition()
|
| H A D | DeadStoresChecker.cpp | 136 ParentMap& Parents; member in __anon04b835860211::DeadStoreObs 150 : cfg(cfg), Ctx(ctx), BR(br), Checker(checker), AC(ac), Parents(parents), in DeadStoreObs() 351 DeadStoreKind dsk = Parents.isConsumedExpr(B) in observeStmt() 362 const Stmt *parent = Parents.getParentIgnoreParenCasts(U); in observeStmt()
|
| H A D | ArrayBoundCheckerV2.cpp | 750 const DynTypedNodeList Parents = ParentCtx.getParents(*S); in isInAddressOf() local 751 if (Parents.empty()) in isInAddressOf() 753 S = Parents[0].get<Stmt>(); in isInAddressOf()
|
| /src/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFUnit.cpp | 419 std::vector<uint32_t> Parents; in extractDIEsToVector() local 428 Parents.push_back(UINT32_MAX); in extractDIEsToVector() 430 Parents.push_back(0); in extractDIEsToVector() 435 assert(Parents.size() > 0 && "Empty parents stack"); in extractDIEsToVector() 436 assert((Parents.back() == UINT32_MAX || Parents.back() <= Dies.size()) && in extractDIEsToVector() 441 Parents.back())) in extractDIEsToVector() 474 Parents.push_back(Dies.size() - 1); in extractDIEsToVector() 482 Parents.pop_back(); in extractDIEsToVector() 490 } while (Parents.size() > 1); in extractDIEsToVector()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DIEHash.cpp | 84 SmallVector<const DIE *, 1> Parents; in addParentContext() local 87 Parents.push_back(Cur); in addParentContext() 95 for (const DIE *Die : llvm::reverse(Parents)) { in addParentContext()
|
| H A D | DwarfUnit.cpp | 683 SmallVector<const DIScope *, 1> Parents; in getParentContextString() local 685 Parents.push_back(Context); in getParentContextString() 696 for (const DIScope *Ctx : llvm::reverse(Parents)) { in getParentContextString()
|
| /src/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangDiagnosticsEmitter.cpp | 71 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() 305 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in isSubGroupOfGroup() local 306 for (unsigned i = 0, e = Parents.size(); i != e; ++i) in isSubGroupOfGroup() 307 if (isSubGroupOfGroup(Parents[i], GName)) in isSubGroupOfGroup() 350 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in markGroup() local 351 for (unsigned i = 0, e = Parents.size(); i != e; ++i) in markGroup() 352 markGroup(Parents[i]); in markGroup() 408 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in compute() local [all …]
|
| /src/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 1168 DynTypedNodeList Parents{ArrayRef<DynTypedNode>()}; // after loop: size != 1 in matchesAnyAncestorOf() local 1188 Parents = ActiveASTContext->getParents(Node); in matchesAnyAncestorOf() 1191 if (Parents.size() != 1) in matchesAnyAncestorOf() 1195 Node = *Parents.begin(); in matchesAnyAncestorOf() 1204 if (Parents.empty()) { in matchesAnyAncestorOf() 1223 assert(Parents.size() > 1); in matchesAnyAncestorOf() 1227 std::deque<DynTypedNode> Queue(Parents.begin(), Parents.end()); in matchesAnyAncestorOf()
|
| /src/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ParentMapContext.h | 72 std::unique_ptr<ParentMap> Parents; variable
|
| /src/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | SyntheticTypeNameBuilder.cpp | 212 SmallVector<UnitEntryPairTy, 10> Parents; in addParentName() local 214 Parents.push_back(*UnitEntryPair); in addParentName() 228 for (UnitEntryPairTy Parent : reverse(Parents)) { in addParentName()
|
| /src/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/ |
| H A D | LVOptions.h | 168 Parents, // --report=parents enumerator 407 REPORT_OPTION(Parents);
|
| /src/contrib/llvm-project/clang/lib/ExtractAPI/Serialization/ |
| H A D | SymbolGraphSerializer.cpp | 584 Array generateParentContexts(const SmallVectorImpl<SymbolReference> &Parents, in generateParentContexts() argument 588 for (const auto &Parent : Parents) { in generateParentContexts()
|
| /src/contrib/llvm-project/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 386 const auto &Parents = AST.getParents(*S); in getEnclosingDeclContext() local 387 if (Parents.empty()) in getEnclosingDeclContext() 389 const auto &P = Parents[0]; in getEnclosingDeclContext()
|
| /src/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 8317 const auto &Parents = Finder->getASTContext().getParents(Node); in AST_MATCHER_P() local 8319 llvm::SmallVector<DynTypedNode, 8> Stack(Parents.begin(), Parents.end()); in AST_MATCHER_P() 8367 const auto &Parents = Finder->getASTContext().getParents(Node); in AST_MATCHER_P() local 8369 llvm::SmallVector<DynTypedNode, 8> Stack(Parents.begin(), Parents.end()); in AST_MATCHER_P()
|
| /src/contrib/llvm-project/llvm/tools/llvm-debuginfo-analyzer/ |
| H A D | Options.cpp | 253 clEnumValN(LVReportKind::Parents, "parents",
|
| /src/sys/contrib/device-tree/Bindings/display/msm/ |
| H A D | dsi.txt | 25 - assigned-clocks: Parents of "byte" and "pixel" for the given platform.
|
| /src/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | VirtualFileSystem.h | 900 llvm::SmallVector<Entry *, 32> Parents; member
|
| /src/contrib/llvm-project/llvm/lib/Support/ |
| H A D | VirtualFileSystem.cpp | 2276 for (Entry *Parent : Parents) in getPath() 2314 Result->Parents = std::move(Entries); in lookupPath()
|