/external/llvm-project/clang/include/clang/AST/ |
D | ParentMapContext.h | 53 template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node); 55 DynTypedNodeList getParents(const DynTypedNode &Node); 127 inline DynTypedNodeList ParentMapContext::getParents(const NodeT &Node) { in getParents() function 128 return getParents(DynTypedNode::create(Node)); in getParents() 132 inline DynTypedNodeList ASTContext::getParents(const NodeT &Node) { in getParents() function 133 return getParentMapContext().getParents(Node); in getParents() 137 inline DynTypedNodeList ASTContext::getParents(const DynTypedNode &Node) { in getParents() function 138 return getParentMapContext().getParents(Node); in getParents()
|
/external/llvm-project/clang/unittests/AST/ |
D | ASTContextParentMapTest.cpp | 93 EXPECT_THAT(Ctx.getParents(Bar), ElementsAre(DynTypedNode::create(Foo))); in TEST() 94 EXPECT_THAT(Ctx.getParents(Foo), ElementsAre(DynTypedNode::create(TU))); in TEST() 98 EXPECT_THAT(Ctx.getParents(Bar), ElementsAre(DynTypedNode::create(Foo))); in TEST() 99 EXPECT_THAT(Ctx.getParents(Foo), ElementsAre()); in TEST() 103 EXPECT_THAT(Ctx.getParents(Bar), ElementsAre(DynTypedNode::create(Foo))); in TEST() 104 EXPECT_THAT(Ctx.getParents(Foo), ElementsAre(DynTypedNode::create(TU))); in TEST()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
D | UncountedLocalVarsChecker.cpp | 36 auto parent = ASTCtx.getParents(*Var); in isDeclaredInForOrIf() 40 DynTypedNodeList grandParent = ASTCtx.getParents(*DS); in isDeclaredInForOrIf() 85 for (DynTypedNodeList guardianAncestors = ctx.getParents(*MaybeGuardian); in isGuardedScopeEmbeddedInGuardianScope() 87 guardianAncestors = ctx.getParents( in isGuardedScopeEmbeddedInGuardianScope() 107 for (DynTypedNodeList guardedVarAncestors = ctx.getParents(*Guarded); in isGuardedScopeEmbeddedInGuardianScope() 109 guardedVarAncestors = ctx.getParents( in isGuardedScopeEmbeddedInGuardianScope()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | MagicNumbersCheck.cpp | 40 return llvm::any_of(Result.Context->getParents(Node), in isUsedToInitializeAConstant() 52 return llvm::any_of(Result.Context->getParents(Node), in isUsedToDefineABitField() 139 Result.Context->getParents(ExprResult), in isConstant() 148 Result.Context->getParents(Parent), in isConstant() 221 llvm::any_of(Result.Context->getParents(Literal), in isBitFieldWidth()
|
D | RedundantDeclarationCheck.cpp | 58 for (const auto &Parent : Result.Context->getParents(*Prev)) in check()
|
D | UseAnyOfAllOfCheck.cpp | 24 DynTypedNodeList Parents = Finder->getASTContext().getParents(Node); in AST_MATCHER_P()
|
D | ImplicitBoolConversionCheck.cpp | 105 Parent = Context.getParents(*Parent)[0].get<Stmt>(); in fixGenericExprCastToBool() 228 for (const auto &N : Context.getParents(*Q.front())) { in isCastAllowedInCondition()
|
D | MisleadingIndentationCheck.cpp | 21 auto parents = Context->getParents(*If); in getPrecedingIf()
|
D | MakeMemberFunctionConstCheck.cpp | 62 DynTypedNodeList Parents = Ctxt.getParents(*E); in getParent()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | ASTSelectionTest.cpp | 726 SelectedCode->getParents(); in TEST() 747 SelectedCode->getParents(); in TEST() 801 SelectedCode->getParents(); in TEST() 829 SelectedCode->getParents(); in TEST() 859 SelectedCode->getParents(); in TEST() 887 SelectedCode->getParents(); in TEST() 936 SelectedCode->getParents(); in TEST() 960 SelectedCode->getParents(); in TEST() 1078 SelectedCode->getParents()[SelectedCode->getParents().size() - 1] in TEST()
|
/external/llvm-project/clang/lib/AST/ |
D | ParentMapContext.cpp | 116 DynTypedNodeList getParents(TraversalKind TK, const DynTypedNode &Node) { in getParents() function in ParentMapContext::ParentMap 328 DynTypedNodeList ParentMapContext::getParents(const DynTypedNode &Node) { in getParents() function in ParentMapContext 333 return Parents->getParents(getTraversalKind(), Node); in getParents()
|
/external/llvm-project/clang/unittests/CrossTU/ |
D | CrossTranslationUnitTest.cpp | 49 Ctx.getParentMapContext().getParents<Decl>(*FD); in HandleTranslationUnit() 116 Ctx.getParentMapContext().getParents<Decl>(*FD); in HandleTranslationUnit() 118 Ctx.getParentMapContext().getParents<Decl>(*NewFD); in HandleTranslationUnit()
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | ExprSequence.cpp | 33 DynTypedNodeList Parents = Context->getParents(*S); in getParentStmts() 45 Parents = Context->getParents(Node); in getParentStmts()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProBoundsArrayToPointerDecayCheck.cpp | 39 DynTypedNodeList Parents = Finder->getASTContext().getParents(*E); in AST_MATCHER_P()
|
/external/llvm-project/clang/include/clang/Tooling/Refactoring/ |
D | ASTSelection.h | 101 ArrayRef<SelectedASTNode::ReferenceType> getParents() { return Parents; } in getParents() function
|
/external/clang/utils/TableGen/ |
D | ClangDiagnosticsEmitter.cpp | 56 const std::vector<Record*> &getParents(const Record *Group) { in getParents() function in __anon0cdd291e0111::DiagGroupParentMap 71 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in getCategoryFromDiagGroup() 345 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in isSubGroupOfGroup() 388 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in markGroup() 447 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in compute()
|
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
D | USRLocFinder.cpp | 354 auto Parents = Context.getParents(Loc); in VisitTypeLoc() 465 auto Parents = Context.getParents(Node); in getClosestAncestorDecl() 477 auto Parents = Context.getParents(Loc); in getParentTypeLoc()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | MultipleStatementMacroCheck.cpp | 25 auto Parents = Result.Context->getParents(*S); in nextStmt()
|
D | SuspiciousMissingCommaCheck.cpp | 27 auto Parents = Ctx->getParents(*Lit); in isConcatenatedLiteralsOnPurpose()
|
/external/llvm-project/clang/utils/TableGen/ |
D | ClangDiagnosticsEmitter.cpp | 56 const std::vector<Record*> &getParents(const Record *Group) { in getParents() function in __anon80066e6c0111::DiagGroupParentMap 71 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in getCategoryFromDiagGroup() 329 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in isSubGroupOfGroup() 374 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in markGroup() 433 const std::vector<Record*> &Parents = DiagGroupParents.getParents(Group); in compute()
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 774 for (const auto &Parent : ActiveASTContext->getParents(Node)) { in matchesParentOf() 839 Parents = ActiveASTContext->getParents(Node); in matchesAnyAncestorOf() 886 for (const auto &Parent : ActiveASTContext->getParents(Queue.front())) { in matchesAnyAncestorOf()
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthTracer.java | 177 if (savedSpan != null && span.getParents().contains(savedSpan.getSpanId())) { in close()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseNullptrCheck.cpp | 420 const auto &Parents = Context.getParents(Start); in findContainingAncestor()
|
D | MakeSmartPtrCheck.cpp | 268 for (const auto &Node : Ctx->getParents(*E)) { in replaceNew()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 652 const auto &Parents = ActiveASTContext->getParents(Node); in matchesAncestorOfRecursively() 681 ActiveASTContext->getParents(Queue.front())) { in matchesAncestorOfRecursively()
|