Home
last modified time | relevance | path

Searched refs:RecursiveASTVisitor (Results 1 – 25 of 56) 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
120 TEST(RecursiveASTVisitor, AttributesAreVisited) { in TEST() argument
/external/clang/include/clang/AST/
DRecursiveASTVisitor.h136 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/
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;
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> {
DTransAutoreleasePool.cpp43 class ReleaseCollector : public RecursiveASTVisitor<ReleaseCollector> {
70 : public RecursiveASTVisitor<AutoreleasePoolRewriter> {
248 class NameReferenceChecker : public RecursiveASTVisitor<NameReferenceChecker>{
DTransUnusedInitDelegate.cpp34 class UnusedInitRewriter : public RecursiveASTVisitor<UnusedInitRewriter> {
DTransGCCalls.cpp22 public RecursiveASTVisitor<GCCollectableCallsChecker> {
DTransARCAssign.cpp35 class ARCAssignChecker : public RecursiveASTVisitor<ARCAssignChecker> {
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;
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/
DIndexBody.cpp18 class BodyIndexer : public RecursiveASTVisitor<BodyIndexer> {
23 typedef RecursiveASTVisitor<BodyIndexer> base;
/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.cpp42 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> {
/external/clang/examples/PrintFunctionNames/
DPrintFunctionNames.cpp56 struct Visitor : public RecursiveASTVisitor<Visitor> { in HandleTranslationUnit()

123