Home
last modified time | relevance | path

Searched refs:RecursiveASTVisitor (Results 1 – 25 of 194) sorted by relevance

12345678

/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/
DDeclRefExpr.cpp34 TEST(RecursiveASTVisitor, VisitsBaseClassTemplateArguments) { in TEST() argument
41 TEST(RecursiveASTVisitor, VisitsCXXForRangeStmtRange) { in TEST() argument
51 TEST(RecursiveASTVisitor, VisitsCallExpr) { in TEST() argument
58 TEST(RecursiveASTVisitor, VisitsExplicitLambdaCaptureInit) { in TEST() argument
66 TEST(RecursiveASTVisitor, VisitsUseOfImplicitLambdaCapture) { in TEST() argument
74 TEST(RecursiveASTVisitor, VisitsImplicitLambdaCaptureInit) { in TEST() argument
87 TEST(RecursiveASTVisitor, VisitsLambdaInitCaptureInit) { in TEST() argument
107 TEST(RecursiveASTVisitor, VisitsExtension) { in TEST() argument
114 TEST(RecursiveASTVisitor, VisitsCopyExprOfBlockDeclCapture) { in TEST() argument
DCXXMemberCall.cpp25 TEST(RecursiveASTVisitor, VisitsCallInTemplateInstantiation) { in TEST() argument
36 TEST(RecursiveASTVisitor, VisitsCallInNestedFunctionTemplateInstantiation) { in TEST() argument
49 TEST(RecursiveASTVisitor, VisitsCallInNestedClassTemplateInstantiation) { in TEST() argument
67 TEST(RecursiveASTVisitor, VisitsCallInPartialTemplateSpecialization) { in TEST() argument
84 TEST(RecursiveASTVisitor, VisitsExplicitTemplateSpecialization) { in TEST() argument
DLambdaExpr.cpp49 TEST(RecursiveASTVisitor, VisitsLambdaExpr) { in TEST() argument
58 TEST(RecursiveASTVisitor, LambdaInLambda) { in TEST() argument
68 TEST(RecursiveASTVisitor, TopLevelLambda) { in TEST() argument
79 TEST(RecursiveASTVisitor, VisitsLambdaExprAndImplicitClass) { in TEST() argument
89 TEST(RecursiveASTVisitor, VisitsAttributedLambdaExpr) { in TEST() argument
DCallbacksLeaf.cpp11 TEST(RecursiveASTVisitor, StmtCallbacks_TraverseLeaf) { in TEST() argument
81 TEST(RecursiveASTVisitor, StmtCallbacks_TraverseLeaf_WalkUpFromLeaf) { in TEST() argument
192 TEST(RecursiveASTVisitor, StmtCallbacks_WalkUpFromLeaf) { in TEST() argument
DCallbacksCallExpr.cpp11 TEST(RecursiveASTVisitor, StmtCallbacks_TraverseCallExpr) { in TEST() argument
72 TEST(RecursiveASTVisitor, StmtCallbacks_TraverseCallExpr_WalkUpFromCallExpr) { in TEST() argument
165 TEST(RecursiveASTVisitor, StmtCallbacks_WalkUpFromCallExpr) { in TEST() argument
DCallbacksUnaryOperator.cpp11 TEST(RecursiveASTVisitor, StmtCallbacks_TraverseUnaryOperator) { in TEST() argument
62 TEST(RecursiveASTVisitor, in TEST() argument
137 TEST(RecursiveASTVisitor, StmtCallbacks_WalkUpFromUnaryOperator) { in TEST() argument
DCallbacksCompoundAssignOperator.cpp11 TEST(RecursiveASTVisitor, StmtCallbacks_TraverseCompoundAssignOperator) { in TEST() argument
65 RecursiveASTVisitor, in TEST() argument
144 TEST(RecursiveASTVisitor, StmtCallbacks_WalkUpFromCompoundAssignOperator) { in TEST() argument
DCallbacksBinaryOperator.cpp11 TEST(RecursiveASTVisitor, StmtCallbacks_TraverseBinaryOperator) { in TEST() argument
64 TEST(RecursiveASTVisitor, in TEST() argument
143 TEST(RecursiveASTVisitor, StmtCallbacks_WalkUpFromBinaryOperator) { in TEST() argument
DInitListExprPreOrder.cpp34 TEST(RecursiveASTVisitor, InitListExprIsPreOrderVisitedTwice) { in TEST() argument
43 TEST(RecursiveASTVisitor, InitListExprVisitedOnceWhenNoImplicit) { in TEST() argument
/external/llvm-project/clang/unittests/Tooling/
DRecursiveASTVisitorTestTypeLocVisitor.cpp23 TEST(RecursiveASTVisitor, VisitsBaseClassDeclarations) { in TEST() argument
29 TEST(RecursiveASTVisitor, VisitsCXXBaseSpecifiersOfForwardDeclaredClass) { in TEST() argument
38 TEST(RecursiveASTVisitor, VisitsCXXBaseSpecifiersWithIncompleteInnerClass) { in TEST() argument
46 TEST(RecursiveASTVisitor, VisitsCXXBaseSpecifiersOfSelfReferentialType) { in TEST() argument
54 TEST(RecursiveASTVisitor, VisitsClassTemplateTypeParmDefaultArgument) { in TEST() argument
63 TEST(RecursiveASTVisitor, VisitsCompoundLiteralType) { in TEST() argument
71 TEST(RecursiveASTVisitor, VisitsObjCPropertyType) { in TEST() argument
80 TEST(RecursiveASTVisitor, VisitInvalidType) { in TEST() argument
DRecursiveASTVisitorTestDeclVisitor.cpp23 TEST(RecursiveASTVisitor, VisitsCXXForRangeStmtLoopVariable) { in TEST() argument
45 TEST(RecursiveASTVisitor, VisitsParmVarDeclForImplicitCode) { in TEST() argument
75 TEST(RecursiveASTVisitor, VisitsPartialTemplateSpecialization) { in TEST() argument
91 TEST(RecursiveASTVisitor, VisitsUndefinedClassTemplateSpecialization) { in TEST() argument
99 TEST(RecursiveASTVisitor, VisitsNestedUndefinedClassTemplateSpecialization) { in TEST() argument
109 TEST(RecursiveASTVisitor, VisitsUndefinedFunctionTemplateSpecialization) { in TEST() argument
117 TEST(RecursiveASTVisitor, VisitsNestedUndefinedFunctionTemplateSpecialization) { in TEST() argument
127 TEST(RecursiveASTVisitor, NoRecursionInSelfFriend) { in TEST() argument
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTestTypeLocVisitor.cpp25 TEST(RecursiveASTVisitor, VisitsBaseClassDeclarations) { in TEST() argument
31 TEST(RecursiveASTVisitor, VisitsCXXBaseSpecifiersOfForwardDeclaredClass) { in TEST() argument
40 TEST(RecursiveASTVisitor, VisitsCXXBaseSpecifiersWithIncompleteInnerClass) { in TEST() argument
48 TEST(RecursiveASTVisitor, VisitsCXXBaseSpecifiersOfSelfReferentialType) { in TEST() argument
56 TEST(RecursiveASTVisitor, VisitsClassTemplateTypeParmDefaultArgument) { in TEST() argument
65 TEST(RecursiveASTVisitor, VisitsCompoundLiteralType) { in TEST() argument
73 TEST(RecursiveASTVisitor, VisitsObjCPropertyType) { in TEST() argument
82 TEST(RecursiveASTVisitor, VisitInvalidType) { in TEST() argument
DRecursiveASTVisitorTestExprVisitor.cpp25 TEST(RecursiveASTVisitor, VisitsParensDuringDataRecursion) { in TEST() argument
46 TEST(RecursiveASTVisitor, VisitsClassTemplateTemplateParmDefaultArgument) { in TEST() argument
67 TEST(RecursiveASTVisitor, VisitsClassTemplateNonTypeParmDefaultArgument) { in TEST() argument
92 TEST(RecursiveASTVisitor, VisitsImplicitCopyConstructors) { in TEST() argument
133 TEST(RecursiveASTVisitor, CanVisitImplicitMemberInitializations) { in TEST() argument
149 TEST(RecursiveASTVisitor, CanSkipImplicitMemberInitializations) { in TEST() argument
171 TEST(RecursiveASTVisitor, VisitsBaseClassTemplateArguments) { in TEST() argument
178 TEST(RecursiveASTVisitor, VisitsCXXForRangeStmtRange) { in TEST() argument
188 TEST(RecursiveASTVisitor, VisitsCallExpr) { in TEST() argument
207 TEST(RecursiveASTVisitor, VisitsExtension) { in TEST() argument
[all …]
DRecursiveASTVisitorTestDeclVisitor.cpp25 TEST(RecursiveASTVisitor, VisitsCXXForRangeStmtLoopVariable) { in TEST() argument
47 TEST(RecursiveASTVisitor, VisitsParmVarDeclForImplicitCode) { in TEST() argument
77 TEST(RecursiveASTVisitor, VisitsPartialTemplateSpecialization) { in TEST() argument
93 TEST(RecursiveASTVisitor, VisitsUndefinedClassTemplateSpecialization) { in TEST() argument
101 TEST(RecursiveASTVisitor, VisitsNestedUndefinedClassTemplateSpecialization) { in TEST() argument
111 TEST(RecursiveASTVisitor, VisitsUndefinedFunctionTemplateSpecialization) { in TEST() argument
119 TEST(RecursiveASTVisitor, VisitsNestedUndefinedFunctionTemplateSpecialization) { in TEST() argument
129 TEST(RecursiveASTVisitor, NoRecursionInSelfFriend) { in TEST() argument
DRecursiveASTVisitorTestCallVisitor.cpp27 TEST(RecursiveASTVisitor, VisitsCallInTemplateInstantiation) { in TEST() argument
38 TEST(RecursiveASTVisitor, VisitsCallInNestedFunctionTemplateInstantiation) { in TEST() argument
51 TEST(RecursiveASTVisitor, VisitsCallInNestedClassTemplateInstantiation) { in TEST() argument
69 TEST(RecursiveASTVisitor, VisitsCallInPartialTemplateSpecialization) { in TEST() argument
86 TEST(RecursiveASTVisitor, VisitsExplicitTemplateSpecialization) { in TEST() argument
111 TEST(RecursiveASTVisitor, TraversesOverloadedOperator) { in TEST() argument
DRecursiveASTVisitorTest.cpp41 TEST(RecursiveASTVisitor, VisitsLambdaExpr) { in TEST() argument
48 TEST(RecursiveASTVisitor, TraverseLambdaBodyCanBeOverridden) { in TEST() argument
67 TEST(RecursiveASTVisitor, HasCaptureDefaultLoc) { in TEST() argument
93 TEST(RecursiveASTVisitor, LambdaClosureTypesAreImplicit) { in TEST() argument
119 TEST(RecursiveASTVisitor, AttributesAreVisited) { in TEST() argument
145 TEST(RecursiveASTVisitor, ArrayInitializersAreVisited) { in TEST() argument
/external/llvm-project/clang/include/clang/AST/
DRecursiveASTVisitor.h164 template <typename Derived> class RecursiveASTVisitor {
348 decltype(&RecursiveASTVisitor::Traverse##NAME), \
352 decltype(&RecursiveASTVisitor::Traverse##NAME), \
354 Derived &, RecursiveASTVisitor &>>(*this) \
504 bool RecursiveASTVisitor<Derived>::dataTraverseNode(Stmt *S,
523 bool RecursiveASTVisitor<Derived>::PostVisitStmt(Stmt *S) {
546 if (::clang::detail::isSameMethod(&RecursiveASTVisitor::Traverse##CLASS, \
553 if (::clang::detail::isSameMethod(&RecursiveASTVisitor::Traverse##CLASS, \
571 bool RecursiveASTVisitor<Derived>::TraverseStmt(Stmt *S,
612 bool RecursiveASTVisitor<Derived>::TraverseType(QualType T) {
[all …]
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h140 template <typename Derived> class RecursiveASTVisitor {
313 &RecursiveASTVisitor::Traverse##NAME), \
317 decltype(&RecursiveASTVisitor::Traverse##NAME), \
319 Derived &, RecursiveASTVisitor &>::type>(*this) \
514 bool RecursiveASTVisitor<Derived>::dataTraverseNode(Stmt *S,
570 bool RecursiveASTVisitor<Derived>::PostVisitStmt(Stmt *S) {
587 bool RecursiveASTVisitor<Derived>::TraverseStmt(Stmt *S,
631 bool RecursiveASTVisitor<Derived>::TraverseType(QualType T) {
647 bool RecursiveASTVisitor<Derived>::TraverseTypeLoc(TypeLoc TL) {
663 #define VISITORCLASS RecursiveASTVisitor
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertUtils.h59 : public clang::RecursiveASTVisitor<StmtAncestorASTVisitor> {
77 friend class clang::RecursiveASTVisitor<StmtAncestorASTVisitor>;
91 : public clang::RecursiveASTVisitor<ComponentFinderASTVisitor> {
103 friend class clang::RecursiveASTVisitor<ComponentFinderASTVisitor>;
115 : public clang::RecursiveASTVisitor<DependencyFinderASTVisitor> {
160 friend class clang::RecursiveASTVisitor<DependencyFinderASTVisitor>;
178 : public clang::RecursiveASTVisitor<DeclFinderASTVisitor> {
193 friend class clang::RecursiveASTVisitor<DeclFinderASTVisitor>;
289 : public RecursiveASTVisitor<ForLoopIndexUseVisitor> {
344 typedef RecursiveASTVisitor<ForLoopIndexUseVisitor> VisitorBase;
[all …]
/external/llvm-project/clang/docs/
DRAVFrontendAction.rst2 How to write RecursiveASTVisitor based ASTFrontendActions.
9 a RecursiveASTVisitor to find CXXRecordDecl AST nodes with a specified
49 // Traversing the translation unit decl via a RecursiveASTVisitor
54 // A RecursiveASTVisitor implementation.
58 Using the RecursiveASTVisitor
62 RecursiveASTVisitor to extract the relevant information from the AST.
64 The RecursiveASTVisitor provides hooks of the form bool
69 Let's start by writing a RecursiveASTVisitor that visits all
75 : public RecursiveASTVisitor<FindNamedClassVisitor> {
88 In the methods of our RecursiveASTVisitor we can now use the full power
[all …]
/external/clang/docs/
DRAVFrontendAction.rst2 How to write RecursiveASTVisitor based ASTFrontendActions.
9 a RecursiveASTVisitor to find CXXRecordDecl AST nodes with a specified
49 // Traversing the translation unit decl via a RecursiveASTVisitor
54 // A RecursiveASTVisitor implementation.
58 Using the RecursiveASTVisitor
62 RecursiveASTVisitor to extract the relevant information from the AST.
64 The RecursiveASTVisitor provides hooks of the form bool
69 Let's start by writing a RecursiveASTVisitor that visits all
75 : public RecursiveASTVisitor<FindNamedClassVisitor> {
88 In the methods of our RecursiveASTVisitor we can now use the full power
[all …]
/external/llvm-project/clang/lib/ARCMigrate/
DTransBlockObjCVariable.cpp40 public RecursiveASTVisitor<RootBlockObjCVarRewriter> {
43 class BlockVarChecker : public RecursiveASTVisitor<BlockVarChecker> {
46 typedef RecursiveASTVisitor<BlockVarChecker> base;
111 class BlockObjCVarRewriter : public RecursiveASTVisitor<BlockObjCVarRewriter> {
/external/clang/lib/ARCMigrate/
DTransBlockObjCVariable.cpp41 public RecursiveASTVisitor<RootBlockObjCVarRewriter> {
44 class BlockVarChecker : public RecursiveASTVisitor<BlockVarChecker> {
47 typedef RecursiveASTVisitor<BlockVarChecker> base;
112 class BlockObjCVarRewriter : public RecursiveASTVisitor<BlockObjCVarRewriter> {
/external/clang/unittests/AST/
DPostOrderASTVisitor.cpp24 : public RecursiveASTVisitor<RecordingVisitor> {
75 TEST(RecursiveASTVisitor, PostOrderTraversal) { in TEST() argument
100 TEST(RecursiveASTVisitor, NoPostOrderTraversal) { in TEST() argument
/external/llvm-project/clang/unittests/AST/
DRecursiveASTVisitorTest.cpp60 : public RecursiveASTVisitor<CollectInterestingEvents> {
64 bool Ret = RecursiveASTVisitor::TraverseFunctionDecl(D); in TraverseFunctionDecl()
72 bool Ret = RecursiveASTVisitor::TraverseAttr(A); in TraverseAttr()

12345678