Home
last modified time | relevance | path

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

123

/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/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/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/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.cpp220 class ReferenceClear : public RecursiveASTVisitor<ReferenceClear> {
227 class ReferenceCollector : public RecursiveASTVisitor<ReferenceCollector> {
242 class RemovablesCollector : public RecursiveASTVisitor<RemovablesCollector> {
323 class ASTTransform : public RecursiveASTVisitor<ASTTransform> {
325 typedef RecursiveASTVisitor<ASTTransform> base;
DTransforms.h186 class BodyTransform : public RecursiveASTVisitor<BodyTransform<BODY_TRANS> > {
190 typedef RecursiveASTVisitor<BodyTransform<BODY_TRANS> > base;
DTransZeroOutPropsInDealloc.cpp27 public RecursiveASTVisitor<ZeroOutInDeallocRemover> {
28 typedef RecursiveASTVisitor<ZeroOutInDeallocRemover> 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> {
/external/clang/unittests/AST/
DPostOrderASTVisitor.cpp24 : public RecursiveASTVisitor<RecordingVisitor> {
75 TEST(RecursiveASTVisitor, PostOrderTraversal) { in TEST() argument
100 TEST(RecursiveASTVisitor, NoPostOrderTraversal) { in TEST() argument
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp79 : public RecursiveASTVisitor<MatchChildASTVisitor> {
81 typedef RecursiveASTVisitor<MatchChildASTVisitor> VisitorBase;
293 class MatchASTVisitor : public RecursiveASTVisitor<MatchASTVisitor>,
820 return RecursiveASTVisitor<MatchASTVisitor>::TraverseDecl(DeclNode); in TraverseDecl()
828 return RecursiveASTVisitor<MatchASTVisitor>::TraverseStmt(StmtNode); in TraverseStmt()
833 return RecursiveASTVisitor<MatchASTVisitor>::TraverseType(TypeNode); in TraverseType()
844 return RecursiveASTVisitor<MatchASTVisitor>::TraverseTypeLoc(TypeLocNode); in TraverseTypeLoc()
849 return RecursiveASTVisitor<MatchASTVisitor>::TraverseNestedNameSpecifier(NNS); in TraverseNestedNameSpecifier()
864 RecursiveASTVisitor<MatchASTVisitor>::TraverseNestedNameSpecifierLoc(NNS); in TraverseNestedNameSpecifierLoc()
/external/v8/tools/clang/blink_gc_plugin/
DCheckDispatchVisitor.h16 : public clang::RecursiveASTVisitor<CheckDispatchVisitor> {
DCollectVisitor.h14 class CollectVisitor : public clang::RecursiveASTVisitor<CollectVisitor> {
DCheckFinalizerVisitor.h21 : public clang::RecursiveASTVisitor<CheckFinalizerVisitor> {
DCheckTraceVisitor.h20 class CheckTraceVisitor : public clang::RecursiveASTVisitor<CheckTraceVisitor> {
/external/clang/lib/Index/
DIndexTypeSourceInfo.cpp18 class TypeIndexer : public RecursiveASTVisitor<TypeIndexer> {
25 typedef RecursiveASTVisitor<TypeIndexer> base;
DIndexBody.cpp18 class BodyIndexer : public RecursiveASTVisitor<BodyIndexer> {
24 typedef RecursiveASTVisitor<BodyIndexer> base;
298 public RecursiveASTVisitor<SyntacticFormIndexer> { in TraverseInitListExpr()
/external/clang/lib/Frontend/
DASTConsumers.cpp34 public RecursiveASTVisitor<ASTPrinter> {
35 typedef RecursiveASTVisitor<ASTPrinter> base;
103 public RecursiveASTVisitor<ASTDeclNodeLister> {
/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()

123