Home
last modified time | relevance | path

Searched refs:TraverseDecl (Results 1 – 25 of 107) sorted by relevance

12345

/external/bcc/src/cc/
Djson_map_decl_visitor.cc75 TraverseDecl(R->getDecl()); in genJSONForField()
80 TraverseDecl(F); in genJSONForField()
107 TraverseDecl(*it); in VisitEnumDecl()
177 return TraverseDecl(T->getDecl()->getDefinition()); in VisitTagType()
179 bool BMapDeclVisitor::VisitTypedefType(const TypedefType *T) { return TraverseDecl(T->getDecl()); } in VisitTypedefType()
/external/llvm-project/clang/include/clang/AST/
DLexicallyOrderedRecursiveASTVisitor.h91 if (!BaseType::getDerived().TraverseDecl(Child)) in TraverseDeclContextHelper()
107 if (!BaseType::getDerived().TraverseDecl(Child)) in TraverseDeclContextHelper()
151 if (!BaseType::getDerived().TraverseDecl(D)) in TraverseAdditionalLexicallyNestedDeclarations()
DRecursiveASTVisitor.h197 if (!getDerived().TraverseDecl(D))
247 bool TraverseDecl(Decl *D);
650 bool RecursiveASTVisitor<Derived>::TraverseDecl(Decl *D) {
859 TRY_TO(TraverseDecl(C->getCapturedVar()));
992 TRY_TO(TraverseDecl(T->getTypeConstraintConcept()));
1230 TRY_TO(TraverseDecl(TL.getParam(I)));
1384 TRY_TO(TraverseDecl(Child));
1446 TRY_TO(TraverseDecl(D->getFriendDecl()));
1453 TRY_TO(TraverseDecl(D->getFriendDecl()));
1458 TRY_TO(TraverseDecl(*ITPL));
[all …]
/external/llvm-project/clang/lib/Frontend/
DASTConsumers.cpp50 TraverseDecl(D); in HandleTranslationUnit()
55 bool TraverseDecl(Decl *D) { in TraverseDecl() function in __anond57958a70111::ASTPrinter
69 return base::TraverseDecl(D); in TraverseDecl()
140 TraverseDecl(Context.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/llvm-project/clang-tools-extra/clangd/
DHeaderSourceSwitch.cpp129 std::function<void(Decl *)> TraverseDecl = [&](Decl *D) { in getIndexableLocalDecls() local
141 TraverseDecl(D); in getIndexableLocalDecls()
151 TraverseDecl(TopLevel); in getIndexableLocalDecls()
/external/llvm-project/clang/unittests/Tooling/
DLexicallyOrderedRecursiveASTVisitorTest.cpp28 bool TraverseDecl(Decl *D) { in TraverseDecl() function in __anon6ec641d40111::LexicallyOrderedDeclVisitor
30 LexicallyOrderedRecursiveASTVisitor::TraverseDecl(D); in TraverseDecl()
58 SubVisitor.TraverseDecl(TU); in VisitTranslationUnitDecl()
DLookupTest.cpp31 bool TraverseDecl(Decl *D) { in TraverseDecl() function
33 bool Ret = TestVisitor::TraverseDecl(D); in TraverseDecl()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DFunctionCognitiveComplexityCheck.cpp235 bool ShouldContinue = Base::TraverseDecl(Node); in TraverseDeclWithIncreasedNestingLevel()
462 bool TraverseDecl(Decl *Node, bool MainAnalyzedFunction = false) { in TraverseDecl() function in clang::tidy::readability::__anonb52cb2880111::FunctionASTVisitor
464 return Base::TraverseDecl(Node); in TraverseDecl()
477 return Base::TraverseDecl(Node); in TraverseDecl()
518 Visitor.TraverseDecl(const_cast<FunctionDecl *>(Func), true); in check()
DFunctionSizeCheck.cpp84 bool TraverseDecl(Decl *Node) { in TraverseDecl() function in clang::tidy::readability::__anon32b6d24d0111::FunctionASTVisitor
86 Base::TraverseDecl(Node); in TraverseDecl()
160 Visitor.TraverseDecl(const_cast<FunctionDecl *>(Func)); in check()
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h213 bool TraverseDecl(Decl *D);
668 bool RecursiveASTVisitor<Derived>::TraverseDecl(Decl *D) {
879 TRY_TO(TraverseDecl(VD));
890 TRY_TO(TraverseDecl(C->getCapturedVar()));
1186 TRY_TO(TraverseDecl(TL.getParam(I)));
1304 TRY_TO(TraverseDecl(Child));
1357 TRY_TO(TraverseDecl(D->getFriendDecl()));
1364 TRY_TO(TraverseDecl(D->getFriendDecl()));
1369 TRY_TO(TraverseDecl(*ITPL));
1375 TRY_TO(TraverseDecl(D->getSpecialization()));
[all …]
/external/clang/unittests/Tooling/
DLookupTest.cpp24 bool TraverseDecl(Decl *D) { in TraverseDecl() function
26 bool Ret = TestVisitor::TraverseDecl(D); in TraverseDecl()
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/
DUSRFinder.cpp91 Visitor.TraverseDecl(CurrDecl); in getNamedDeclAt()
131 Visitor.TraverseDecl(Context.getTranslationUnitDecl()); in getNamedDeclFor()
/external/llvm-project/clang/examples/CallSuperAttribute/
DCallSuperAttrInfo.cpp92 Visitor.TraverseDecl(MethodDecl); in VisitCXXMethodDecl()
120 Visitor.TraverseDecl(Context.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/clang/lib/Frontend/
DASTConsumers.cpp49 TraverseDecl(D); in HandleTranslationUnit()
54 bool TraverseDecl(Decl *D) { in TraverseDecl() function in __anonab3ebab90111::ASTPrinter
68 return base::TraverseDecl(D); in TraverseDecl()
109 TraverseDecl(Context.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/llvm-project/clang/lib/Tooling/Refactoring/
DASTSelection.cpp77 bool TraverseDecl(Decl *D) { in TraverseDecl() function in __anonaec46acd0111::ASTSelectionFinder
79 return LexicallyOrderedRecursiveASTVisitor::TraverseDecl(D); in TraverseDecl()
98 LexicallyOrderedRecursiveASTVisitor::TraverseDecl(D); in TraverseDecl()
195 Visitor.TraverseDecl(Context.getTranslationUnitDecl()); in findSelectedASTNodes()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp142 bool TraverseDecl(Decl *DeclNode) { in TraverseDecl() function in clang::ast_matchers::internal::__anon5fe87f1e0111::MatchChildASTVisitor
220 return VisitorBase::TraverseDecl(const_cast<Decl*>(&DeclNode)); in baseTraverse()
368 bool TraverseDecl(Decl *DeclNode);
815 bool MatchASTVisitor::TraverseDecl(Decl *DeclNode) { in TraverseDecl() function in clang::ast_matchers::internal::__anon5fe87f1e0111::MatchASTVisitor
820 return RecursiveASTVisitor<MatchASTVisitor>::TraverseDecl(DeclNode); in TraverseDecl()
976 Visitor.TraverseDecl(Context.getTranslationUnitDecl()); in matchAST()
/external/llvm-project/clang/lib/ARCMigrate/
DTransGCAttrs.cpp45 bool TraverseDecl(Decl *D) { in TraverseDecl() function in __anonbd26feff0111::GCAttrsCollector
57 return base::TraverseDecl(D); in TraverseDecl()
322 GCAttrsCollector(MigrateCtx, AllProps).TraverseDecl( in traverseTU()
DTransUnusedInitDelegate.cpp76 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteUnusedInitDelegate()
DTransARCAssign.cpp76 assignCheck.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in makeAssignARCSafe()
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp46 bool TraverseDecl(Decl *D) { in TraverseDecl() function in __anon19cd2d910111::GCAttrsCollector
58 return base::TraverseDecl(D); in TraverseDecl()
327 GCAttrsCollector(MigrateCtx, AllProps).TraverseDecl( in traverseTU()
DTransUnusedInitDelegate.cpp77 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteUnusedInitDelegate()
DTransARCAssign.cpp77 assignCheck.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in makeAssignARCSafe()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DPrintASTTests.cpp52 V.TraverseDecl(AST.getASTContext().getTranslationUnitDecl()); in TEST_P()
/external/clang/unittests/AST/
DEvaluateAsRValueTest.cpp74 Evaluator.TraverseDecl(Ctx.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/llvm-project/clang/unittests/AST/
DEvaluateAsRValueTest.cpp73 Evaluator.TraverseDecl(Ctx.getTranslationUnitDecl()); in HandleTranslationUnit()

12345