/external/clang/unittests/Tooling/ |
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 | 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 | 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 120 TEST(RecursiveASTVisitor, AttributesAreVisited) { in TEST() argument
|
/external/clang/include/clang/AST/ |
D | RecursiveASTVisitor.h | 136 template <typename Derived> class RecursiveASTVisitor { 292 &RecursiveASTVisitor::Traverse##NAME), \ 296 decltype(&RecursiveASTVisitor::Traverse##NAME), \ 298 Derived &, RecursiveASTVisitor &>::type>(*this) \ 488 bool RecursiveASTVisitor<Derived>::dataTraverseNode(Stmt *S, 543 bool RecursiveASTVisitor<Derived>::TraverseStmt(Stmt *S, 572 bool RecursiveASTVisitor<Derived>::TraverseType(QualType T) { 588 bool RecursiveASTVisitor<Derived>::TraverseTypeLoc(TypeLoc TL) { 604 #define VISITORCLASS RecursiveASTVisitor 609 bool RecursiveASTVisitor<Derived>::TraverseDecl(Decl *D) { [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 | TransZeroOutPropsInDealloc.cpp | 27 public RecursiveASTVisitor<ZeroOutInDeallocRemover> { 28 typedef RecursiveASTVisitor<ZeroOutInDeallocRemover> base;
|
D | Transforms.h | 186 class BodyTransform : public RecursiveASTVisitor<BodyTransform<BODY_TRANS> > { 190 typedef RecursiveASTVisitor<BodyTransform<BODY_TRANS> > 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> {
|
D | TransGCCalls.cpp | 22 public RecursiveASTVisitor<GCCollectableCallsChecker> {
|
D | TransARCAssign.cpp | 35 class ARCAssignChecker : public RecursiveASTVisitor<ARCAssignChecker> {
|
D | TransAPIUses.cpp | 31 class APIChecker : public RecursiveASTVisitor<APIChecker> {
|
D | TransGCAttrs.cpp | 27 class GCAttrsCollector : public RecursiveASTVisitor<GCAttrsCollector> { 32 typedef RecursiveASTVisitor<GCAttrsCollector> base;
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 79 : public RecursiveASTVisitor<MatchChildASTVisitor> { 81 typedef RecursiveASTVisitor<MatchChildASTVisitor> VisitorBase; 293 class MatchASTVisitor : public RecursiveASTVisitor<MatchASTVisitor>, 827 return RecursiveASTVisitor<MatchASTVisitor>::TraverseDecl(DeclNode); in TraverseDecl() 835 return RecursiveASTVisitor<MatchASTVisitor>::TraverseStmt(StmtNode); in TraverseStmt() 840 return RecursiveASTVisitor<MatchASTVisitor>::TraverseType(TypeNode); in TraverseType() 851 return RecursiveASTVisitor<MatchASTVisitor>::TraverseTypeLoc(TypeLocNode); in TraverseTypeLoc() 856 return RecursiveASTVisitor<MatchASTVisitor>::TraverseNestedNameSpecifier(NNS); in TraverseNestedNameSpecifier() 871 RecursiveASTVisitor<MatchASTVisitor>::TraverseNestedNameSpecifierLoc(NNS); in TraverseNestedNameSpecifierLoc()
|
/external/clang/tools/libclang/ |
D | IndexBody.cpp | 18 class BodyIndexer : public RecursiveASTVisitor<BodyIndexer> { 23 typedef RecursiveASTVisitor<BodyIndexer> base;
|
/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()
|
D | ObjCMissingSuperCallChecker.cpp | 42 class FindSuperCallVisitor : public RecursiveASTVisitor<FindSuperCallVisitor> {
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 34 public RecursiveASTVisitor<ASTPrinter> { 35 typedef RecursiveASTVisitor<ASTPrinter> base; 103 public RecursiveASTVisitor<ASTDeclNodeLister> {
|
/external/clang/unittests/AST/ |
D | EvaluateAsRValueTest.cpp | 33 : public clang::RecursiveASTVisitor<EvaluateConstantInitializersVisitor> {
|
/external/clang/examples/PrintFunctionNames/ |
D | PrintFunctionNames.cpp | 56 struct Visitor : public RecursiveASTVisitor<Visitor> { in HandleTranslationUnit()
|