clang 22.0.0git
DynamicRecursiveASTVisitor.h File Reference
#include "clang/AST/Attr.h"
#include "clang/AST/ExprConcepts.h"
#include "clang/AST/TypeLoc.h"
#include "clang/AST/DeclNodes.inc"
#include "clang/AST/StmtNodes.inc"
#include "clang/AST/TypeNodes.inc"
#include "clang/AST/TypeLocNodes.def"

Go to the source code of this file.

Classes

class  clang::DynamicRecursiveASTVisitorBase< IsConst >
 Recursive AST visitor that supports extension via dynamic dispatch. More...

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.

Macros

#define DEF_TRAVERSE_TMPL_INST(kind)
#define ABSTRACT_DECL(DECL)
#define DECL(CLASS, BASE)
#define DECL(CLASS, BASE)
#define ABSTRACT_STMT(STMT)
#define STMT(CLASS, PARENT)
#define STMT(CLASS, PARENT)
#define ABSTRACT_TYPE(CLASS, BASE)
#define TYPE(CLASS, BASE)
#define TYPE(CLASS, BASE)
#define ABSTRACT_TYPELOC(CLASS, BASE)
#define TYPELOC(CLASS, BASE)
#define TYPELOC(CLASS, BASE)

Typedefs

using clang::DynamicRecursiveASTVisitor
using clang::ConstDynamicRecursiveASTVisitor

Macro Definition Documentation

◆ ABSTRACT_DECL

#define ABSTRACT_DECL ( DECL)

Definition at line 251 of file DynamicRecursiveASTVisitor.h.

◆ ABSTRACT_STMT

#define ABSTRACT_STMT ( STMT)

Definition at line 262 of file DynamicRecursiveASTVisitor.h.

◆ ABSTRACT_TYPE

#define ABSTRACT_TYPE ( CLASS,
BASE )

Definition at line 272 of file DynamicRecursiveASTVisitor.h.

◆ ABSTRACT_TYPELOC

#define ABSTRACT_TYPELOC ( CLASS,
BASE )

Definition at line 284 of file DynamicRecursiveASTVisitor.h.

◆ DECL [1/2]

#define DECL ( CLASS,
BASE )
Value:
bool WalkUpFrom##CLASS##Decl(MaybeConst<CLASS##Decl> *D); \
virtual bool Traverse##CLASS##Decl(MaybeConst<CLASS##Decl> *D);

Definition at line 252 of file DynamicRecursiveASTVisitor.h.

◆ DECL [2/2]

#define DECL ( CLASS,
BASE )
Value:
virtual bool Visit##CLASS##Decl(MaybeConst<CLASS##Decl> *D) { return true; }

Definition at line 252 of file DynamicRecursiveASTVisitor.h.

◆ DEF_TRAVERSE_TMPL_INST

#define DEF_TRAVERSE_TMPL_INST ( kind)
Value:
virtual bool TraverseTemplateInstantiations( \
MaybeConst<kind##TemplateDecl> *D);

Definition at line 242 of file DynamicRecursiveASTVisitor.h.

◆ STMT [1/2]

#define STMT ( CLASS,
PARENT )
Value:
virtual bool Traverse##CLASS(MaybeConst<CLASS> *S);

Definition at line 263 of file DynamicRecursiveASTVisitor.h.

◆ STMT [2/2]

#define STMT ( CLASS,
PARENT )
Value:
bool WalkUpFrom##CLASS(MaybeConst<CLASS> *S); \
virtual bool Visit##CLASS(MaybeConst<CLASS> *S) { return true; }

Definition at line 263 of file DynamicRecursiveASTVisitor.h.

◆ TYPE [1/2]

#define TYPE ( CLASS,
BASE )
Value:
bool WalkUpFrom##CLASS##Type(MaybeConst<CLASS##Type> *T); \
virtual bool Traverse##CLASS##Type(MaybeConst<CLASS##Type> *T, \
bool TraverseQualifier = true);

Definition at line 273 of file DynamicRecursiveASTVisitor.h.

◆ TYPE [2/2]

#define TYPE ( CLASS,
BASE )
Value:
virtual bool Visit##CLASS##Type(MaybeConst<CLASS##Type> *T) { return true; }

Definition at line 273 of file DynamicRecursiveASTVisitor.h.

◆ TYPELOC [1/2]

#define TYPELOC ( CLASS,
BASE )
Value:
virtual bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL, \
bool TraverseQualifier);

Definition at line 285 of file DynamicRecursiveASTVisitor.h.

◆ TYPELOC [2/2]

#define TYPELOC ( CLASS,
BASE )
Value:
bool WalkUpFrom##CLASS##TypeLoc(CLASS##TypeLoc TL); \
virtual bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TL) { return true; }

Definition at line 285 of file DynamicRecursiveASTVisitor.h.