clang 20.0.0git
Macros
DynamicRecursiveASTVisitor.cpp File Reference
#include "clang/AST/DynamicRecursiveASTVisitor.h"
#include "clang/AST/RecursiveASTVisitor.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.

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)    bool Traverse##CLASS(CLASS *S) { return Visitor.Traverse##CLASS(S); }
 
#define STMT(CLASS, PARENT)    bool Visit##CLASS(CLASS *S) { return Visitor.Visit##CLASS(S); }
 
#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)
 
#define DEF_TRAVERSE_TMPL_INST(kind)
 
#define ABSTRACT_DECL(DECL)
 
#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 ABSTRACT_TYPELOC(CLASS, BASE)
 
#define TYPELOC(CLASS, BASE)
 
#define TYPELOC(CLASS, BASE)
 

Macro Definition Documentation

◆ ABSTRACT_DECL [1/2]

#define ABSTRACT_DECL (   DECL)

Definition at line 402 of file DynamicRecursiveASTVisitor.cpp.

◆ ABSTRACT_DECL [2/2]

#define ABSTRACT_DECL (   DECL)

Definition at line 402 of file DynamicRecursiveASTVisitor.cpp.

◆ ABSTRACT_STMT [1/2]

#define ABSTRACT_STMT (   STMT)

Definition at line 413 of file DynamicRecursiveASTVisitor.cpp.

◆ ABSTRACT_STMT [2/2]

#define ABSTRACT_STMT (   STMT)

Definition at line 413 of file DynamicRecursiveASTVisitor.cpp.

◆ ABSTRACT_TYPE [1/2]

#define ABSTRACT_TYPE (   CLASS,
  BASE 
)

Definition at line 427 of file DynamicRecursiveASTVisitor.cpp.

◆ ABSTRACT_TYPE [2/2]

#define ABSTRACT_TYPE (   CLASS,
  BASE 
)

Definition at line 427 of file DynamicRecursiveASTVisitor.cpp.

◆ ABSTRACT_TYPELOC [1/2]

#define ABSTRACT_TYPELOC (   CLASS,
  BASE 
)

Definition at line 437 of file DynamicRecursiveASTVisitor.cpp.

◆ ABSTRACT_TYPELOC [2/2]

#define ABSTRACT_TYPELOC (   CLASS,
  BASE 
)

Definition at line 437 of file DynamicRecursiveASTVisitor.cpp.

◆ DECL [1/3]

#define DECL (   CLASS,
  BASE 
)
Value:
bool Traverse##CLASS##Decl(CLASS##Decl *D) { \
return Visitor.Traverse##CLASS##Decl(D); \
}
const Decl * D
Decl - This represents one declaration (or definition), e.g.
Definition: DeclBase.h:86

Definition at line 403 of file DynamicRecursiveASTVisitor.cpp.

◆ DECL [2/3]

#define DECL (   CLASS,
  BASE 
)
Value:
bool Visit##CLASS##Decl(CLASS##Decl *D) { \
return Visitor.Visit##CLASS##Decl(D); \
}

Definition at line 403 of file DynamicRecursiveASTVisitor.cpp.

◆ DECL [3/3]

#define DECL (   CLASS,
  BASE 
)
Value:
bool DynamicRecursiveASTVisitor::Traverse##CLASS##Decl(CLASS##Decl *D) { \
return Impl(*this).RecursiveASTVisitor<Impl>::Traverse##CLASS##Decl(D); \
} \
bool DynamicRecursiveASTVisitor::WalkUpFrom##CLASS##Decl(CLASS##Decl *D) { \
return Impl(*this).RecursiveASTVisitor<Impl>::WalkUpFrom##CLASS##Decl(D); \
}

Definition at line 403 of file DynamicRecursiveASTVisitor.cpp.

◆ DEF_TRAVERSE_TMPL_INST [1/2]

#define DEF_TRAVERSE_TMPL_INST (   kind)
Value:
bool TraverseTemplateInstantiations(kind##TemplateDecl *D) { \
return Visitor.TraverseTemplateInstantiations(D); \
}
The base class of all kinds of template declarations (e.g., class, function, etc.).
Definition: DeclTemplate.h:399

Definition at line 390 of file DynamicRecursiveASTVisitor.cpp.

◆ DEF_TRAVERSE_TMPL_INST [2/2]

#define DEF_TRAVERSE_TMPL_INST (   kind)
Value:
bool DynamicRecursiveASTVisitor::TraverseTemplateInstantiations( \
kind##TemplateDecl *D) { \
return Impl(*this) \
.RecursiveASTVisitor<Impl>::TraverseTemplateInstantiations(D); \
}

Definition at line 390 of file DynamicRecursiveASTVisitor.cpp.

◆ STMT [1/4]

#define STMT (   CLASS,
  PARENT 
)     bool Traverse##CLASS(CLASS *S) { return Visitor.Traverse##CLASS(S); }

Definition at line 420 of file DynamicRecursiveASTVisitor.cpp.

◆ STMT [2/4]

#define STMT (   CLASS,
  PARENT 
)     bool Visit##CLASS(CLASS *S) { return Visitor.Visit##CLASS(S); }

Definition at line 420 of file DynamicRecursiveASTVisitor.cpp.

◆ STMT [3/4]

#define STMT (   CLASS,
  PARENT 
)
Value:
bool DynamicRecursiveASTVisitor::Traverse##CLASS(CLASS *S) { \
return Impl(*this).RecursiveASTVisitor<Impl>::Traverse##CLASS(S); \
}

Definition at line 420 of file DynamicRecursiveASTVisitor.cpp.

◆ STMT [4/4]

#define STMT (   CLASS,
  PARENT 
)
Value:
bool DynamicRecursiveASTVisitor::WalkUpFrom##CLASS(CLASS *S) { \
return Impl(*this).RecursiveASTVisitor<Impl>::WalkUpFrom##CLASS(S); \
}

Definition at line 420 of file DynamicRecursiveASTVisitor.cpp.

◆ TYPE [1/3]

#define TYPE (   CLASS,
  BASE 
)
Value:
bool Traverse##CLASS##Type(CLASS##Type *T) { \
return Visitor.Traverse##CLASS##Type(T); \
}
The base class of the type hierarchy.
Definition: Type.h:1828
const FunctionProtoType * T

Definition at line 428 of file DynamicRecursiveASTVisitor.cpp.

◆ TYPE [2/3]

#define TYPE (   CLASS,
  BASE 
)
Value:
bool Visit##CLASS##Type(CLASS##Type *T) { \
return Visitor.Visit##CLASS##Type(T); \
}

Definition at line 428 of file DynamicRecursiveASTVisitor.cpp.

◆ TYPE [3/3]

#define TYPE (   CLASS,
  BASE 
)
Value:
bool DynamicRecursiveASTVisitor::Traverse##CLASS##Type(CLASS##Type *T) { \
return Impl(*this).RecursiveASTVisitor<Impl>::Traverse##CLASS##Type(T); \
} \
bool DynamicRecursiveASTVisitor::WalkUpFrom##CLASS##Type(CLASS##Type *T) { \
return Impl(*this).RecursiveASTVisitor<Impl>::WalkUpFrom##CLASS##Type(T); \
}

Definition at line 428 of file DynamicRecursiveASTVisitor.cpp.

◆ TYPELOC [1/4]

#define TYPELOC (   CLASS,
  BASE 
)
Value:
bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL) { \
return Visitor.Traverse##CLASS##TypeLoc(TL); \
}
Base wrapper for a particular "section" of type source info.
Definition: TypeLoc.h:59

Definition at line 446 of file DynamicRecursiveASTVisitor.cpp.

◆ TYPELOC [2/4]

#define TYPELOC (   CLASS,
  BASE 
)
Value:
bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TL) { \
return Visitor.Visit##CLASS##TypeLoc(TL); \
}

Definition at line 446 of file DynamicRecursiveASTVisitor.cpp.

◆ TYPELOC [3/4]

#define TYPELOC (   CLASS,
  BASE 
)
Value:
bool DynamicRecursiveASTVisitor::Traverse##CLASS##TypeLoc( \
CLASS##TypeLoc TL) { \
return Impl(*this).RecursiveASTVisitor<Impl>::Traverse##CLASS##TypeLoc( \
TL); \
}

Definition at line 446 of file DynamicRecursiveASTVisitor.cpp.

◆ TYPELOC [4/4]

#define TYPELOC (   CLASS,
  BASE 
)
Value:
bool DynamicRecursiveASTVisitor::WalkUpFrom##CLASS##TypeLoc( \
CLASS##TypeLoc TL) { \
return Impl(*this).RecursiveASTVisitor<Impl>::WalkUpFrom##CLASS##TypeLoc( \
TL); \
}

Definition at line 446 of file DynamicRecursiveASTVisitor.cpp.