/external/clang/unittests/Tooling/ |
D | RecursiveASTVisitorTestExprVisitor.cpp | 25 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 …]
|
D | RecursiveASTVisitorTestTypeLocVisitor.cpp | 25 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
|
D | RecursiveASTVisitorTestDeclVisitor.cpp | 25 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
|
D | RecursiveASTVisitorTestCallVisitor.cpp | 27 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
|
D | RecursiveASTVisitorTest.cpp | 41 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/ |
D | RecursiveASTVisitor.h | 140 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/ |
D | RAVFrontendAction.rst | 2 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/ |
D | TransBlockObjCVariable.cpp | 41 public RecursiveASTVisitor<RootBlockObjCVarRewriter> { 44 class BlockVarChecker : public RecursiveASTVisitor<BlockVarChecker> { 47 typedef RecursiveASTVisitor<BlockVarChecker> base; 112 class BlockObjCVarRewriter : public RecursiveASTVisitor<BlockObjCVarRewriter> {
|
D | Transforms.cpp | 220 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;
|
D | Transforms.h | 186 class BodyTransform : public RecursiveASTVisitor<BodyTransform<BODY_TRANS> > { 190 typedef RecursiveASTVisitor<BodyTransform<BODY_TRANS> > base;
|
D | TransZeroOutPropsInDealloc.cpp | 27 public RecursiveASTVisitor<ZeroOutInDeallocRemover> { 28 typedef RecursiveASTVisitor<ZeroOutInDeallocRemover> base;
|
D | TransProtectedScope.cpp | 26 class LocalRefsCollector : public RecursiveASTVisitor<LocalRefsCollector> { 55 class CaseCollector : public RecursiveASTVisitor<CaseCollector> {
|
D | TransAutoreleasePool.cpp | 43 class ReleaseCollector : public RecursiveASTVisitor<ReleaseCollector> { 70 : public RecursiveASTVisitor<AutoreleasePoolRewriter> { 248 class NameReferenceChecker : public RecursiveASTVisitor<NameReferenceChecker>{
|
D | TransUnusedInitDelegate.cpp | 34 class UnusedInitRewriter : public RecursiveASTVisitor<UnusedInitRewriter> {
|
/external/clang/unittests/AST/ |
D | PostOrderASTVisitor.cpp | 24 : public RecursiveASTVisitor<RecordingVisitor> { 75 TEST(RecursiveASTVisitor, PostOrderTraversal) { in TEST() argument 100 TEST(RecursiveASTVisitor, NoPostOrderTraversal) { in TEST() argument
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 79 : 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/bcc/src/cc/frontends/clang/ |
D | b_frontend_action.h | 46 class MapVisitor : public clang::RecursiveASTVisitor<MapVisitor> { 60 class BTypeVisitor : public clang::RecursiveASTVisitor<BTypeVisitor> { 94 class ProbeVisitor : public clang::RecursiveASTVisitor<ProbeVisitor> {
|
/external/clang/lib/Index/ |
D | IndexTypeSourceInfo.cpp | 18 class TypeIndexer : public RecursiveASTVisitor<TypeIndexer> { 25 typedef RecursiveASTVisitor<TypeIndexer> base;
|
D | IndexBody.cpp | 18 class BodyIndexer : public RecursiveASTVisitor<BodyIndexer> { 24 typedef RecursiveASTVisitor<BodyIndexer> base; 298 public RecursiveASTVisitor<SyntacticFormIndexer> { in TraverseInitListExpr()
|
/external/v8/tools/clang/blink_gc_plugin/ |
D | CheckDispatchVisitor.h | 16 : public clang::RecursiveASTVisitor<CheckDispatchVisitor> {
|
D | CollectVisitor.h | 14 class CollectVisitor : public clang::RecursiveASTVisitor<CollectVisitor> {
|
D | CheckFinalizerVisitor.h | 21 : public clang::RecursiveASTVisitor<CheckFinalizerVisitor> {
|
D | CheckTraceVisitor.h | 20 class CheckTraceVisitor : public clang::RecursiveASTVisitor<CheckTraceVisitor> {
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 34 public RecursiveASTVisitor<ASTPrinter> { 35 typedef RecursiveASTVisitor<ASTPrinter> base; 103 public RecursiveASTVisitor<ASTDeclNodeLister> {
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DeadStoresChecker.cpp | 34 class EHCodeVisitor : public RecursiveASTVisitor<EHCodeVisitor> { 41 return ::RecursiveASTVisitor<EHCodeVisitor>::TraverseObjCAtFinallyStmt(S); in TraverseObjCAtFinallyStmt() 46 return ::RecursiveASTVisitor<EHCodeVisitor>::TraverseObjCAtCatchStmt(S); in TraverseObjCAtCatchStmt()
|