Home
last modified time | relevance | path

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

12

/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
120 TEST(RecursiveASTVisitor, AttributesAreVisited) { in TEST() argument
/external/clang/include/clang/AST/
DDataRecursiveASTVisitor.h64 #define RecursiveASTVisitor DataRecursiveASTVisitor macro
140 template <typename Derived> class RecursiveASTVisitor {
440 RecursiveASTVisitor &RAV;
443 NewQueueRAII(StmtsTy &queue, RecursiveASTVisitor &RAV) : RAV(RAV) { in NewQueueRAII()
459 explicit StmtQueueAction(RecursiveASTVisitor &RAV) in StmtQueueAction()
470 bool RecursiveASTVisitor<Derived>::TraverseStmt(Stmt *S) { in TraverseStmt()
546 bool RecursiveASTVisitor<Derived>::TraverseType(QualType T) { in TraverseType()
562 bool RecursiveASTVisitor<Derived>::TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc()
578 #define VISITORCLASS RecursiveASTVisitor
583 bool RecursiveASTVisitor<Derived>::TraverseDecl(Decl *D) { in TraverseDecl()
[all …]
DRecursiveASTVisitor.h133 template <typename Derived> class RecursiveASTVisitor {
450 bool RecursiveASTVisitor<Derived>::dataTraverse(Stmt *S) { in dataTraverse()
492 bool RecursiveASTVisitor<Derived>::dataTraverseNode(Stmt *S, in dataTraverseNode()
500 bool (Derived::*BaseFn)(CLASS *) = &RecursiveASTVisitor::Traverse##NAME; \ in dataTraverseNode()
554 bool RecursiveASTVisitor<Derived>::TraverseStmt(Stmt *S) { in TraverseStmt()
613 bool RecursiveASTVisitor<Derived>::TraverseType(QualType T) { in TraverseType()
629 bool RecursiveASTVisitor<Derived>::TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc()
645 #define VISITORCLASS RecursiveASTVisitor
650 bool RecursiveASTVisitor<Derived>::TraverseDecl(Decl *D) { in TraverseDecl()
680 bool RecursiveASTVisitor<Derived>::TraverseNestedNameSpecifier( in TraverseNestedNameSpecifier()
[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 …]
DIntroductionToTheClangAST.rst116 `RecursiveASTVisitor <http://clang.llvm.org/doxygen/classclang_1_1RecursiveASTVisitor.html>`_.
117 See the `RecursiveASTVisitor
/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> {
DTransforms.cpp224 class ReferenceClear : public RecursiveASTVisitor<ReferenceClear> {
231 class ReferenceCollector : public RecursiveASTVisitor<ReferenceCollector> {
246 class RemovablesCollector : public RecursiveASTVisitor<RemovablesCollector> {
327 class ASTTransform : public RecursiveASTVisitor<ASTTransform> {
329 typedef RecursiveASTVisitor<ASTTransform> base;
DTransZeroOutPropsInDealloc.cpp27 public RecursiveASTVisitor<ZeroOutInDeallocRemover> {
28 typedef RecursiveASTVisitor<ZeroOutInDeallocRemover> base;
DTransforms.h186 class BodyTransform : public RecursiveASTVisitor<BodyTransform<BODY_TRANS> > {
190 typedef RecursiveASTVisitor<BodyTransform<BODY_TRANS> > base;
DTransProtectedScope.cpp26 class LocalRefsCollector : public RecursiveASTVisitor<LocalRefsCollector> {
55 class CaseCollector : public RecursiveASTVisitor<CaseCollector> {
DTransUnusedInitDelegate.cpp34 class UnusedInitRewriter : public RecursiveASTVisitor<UnusedInitRewriter> {
DTransGCCalls.cpp22 public RecursiveASTVisitor<GCCollectableCallsChecker> {
DTransARCAssign.cpp35 class ARCAssignChecker : public RecursiveASTVisitor<ARCAssignChecker> {
DTransAutoreleasePool.cpp43 class ReleaseCollector : public RecursiveASTVisitor<ReleaseCollector> {
70 : public RecursiveASTVisitor<AutoreleasePoolRewriter> {
248 class NameReferenceChecker : public RecursiveASTVisitor<NameReferenceChecker>{
DTransAPIUses.cpp31 class APIChecker : public RecursiveASTVisitor<APIChecker> {
DTransGCAttrs.cpp27 class GCAttrsCollector : public RecursiveASTVisitor<GCAttrsCollector> {
32 typedef RecursiveASTVisitor<GCAttrsCollector> base;
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp79 : public RecursiveASTVisitor<MatchChildASTVisitor> {
81 typedef RecursiveASTVisitor<MatchChildASTVisitor> VisitorBase;
296 class MatchASTVisitor : public RecursiveASTVisitor<MatchASTVisitor>,
836 return RecursiveASTVisitor<MatchASTVisitor>::TraverseDecl(DeclNode); in TraverseDecl()
844 return RecursiveASTVisitor<MatchASTVisitor>::TraverseStmt(StmtNode); in TraverseStmt()
849 return RecursiveASTVisitor<MatchASTVisitor>::TraverseType(TypeNode); in TraverseType()
860 return RecursiveASTVisitor<MatchASTVisitor>::TraverseTypeLoc(TypeLocNode); in TraverseTypeLoc()
865 return RecursiveASTVisitor<MatchASTVisitor>::TraverseNestedNameSpecifier(NNS); in TraverseNestedNameSpecifier()
876 RecursiveASTVisitor<MatchASTVisitor>::TraverseNestedNameSpecifierLoc(NNS); in TraverseNestedNameSpecifierLoc()
/external/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp34 class EHCodeVisitor : public RecursiveASTVisitor<EHCodeVisitor> {
41 return ::RecursiveASTVisitor<EHCodeVisitor>::TraverseObjCAtFinallyStmt(S); in TraverseObjCAtFinallyStmt()
46 return ::RecursiveASTVisitor<EHCodeVisitor>::TraverseObjCAtCatchStmt(S); in TraverseObjCAtCatchStmt()
DObjCMissingSuperCallChecker.cpp43 class FindSuperCallVisitor : public RecursiveASTVisitor<FindSuperCallVisitor> {
/external/clang/lib/Frontend/
DASTConsumers.cpp34 public RecursiveASTVisitor<ASTPrinter> {
35 typedef RecursiveASTVisitor<ASTPrinter> base;
103 public RecursiveASTVisitor<ASTDeclNodeLister> {
/external/clang/unittests/AST/
DEvaluateAsRValueTest.cpp33 : public clang::RecursiveASTVisitor<EvaluateConstantInitializersVisitor> {

12