clang: lib/AST/DynamicRecursiveASTVisitor.cpp File Reference (original) (raw)

#include "[clang/AST/DynamicRecursiveASTVisitor.h](DynamicRecursiveASTVisitor%5F8h%5Fsource.html)"
#include "[clang/AST/RecursiveASTVisitor.h](RecursiveASTVisitor%5F8h%5Fsource.html)"
#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)

ABSTRACT_DECL [1/2]

| #define ABSTRACT_DECL | ( | | DECL | ) | | ---------------------- | - | | ---------------------------------------------------------- | - |

ABSTRACT_DECL [2/2]

| #define ABSTRACT_DECL | ( | | DECL | ) | | ---------------------- | - | | ---------------------------------------------------------- | - |

ABSTRACT_STMT [1/2]

| #define ABSTRACT_STMT | ( | | STMT | ) | | ---------------------- | - | | ---------------------------------------------------------- | - |

ABSTRACT_STMT [2/2]

| #define ABSTRACT_STMT | ( | | STMT | ) | | ---------------------- | - | | ---------------------------------------------------------- | - |

ABSTRACT_TYPE [1/2]

| #define ABSTRACT_TYPE | ( | | CLASS, | | ---------------------- | - | | ------ | | | BASE | | | | | ) | | | |

ABSTRACT_TYPE [2/2]

| #define ABSTRACT_TYPE | ( | | CLASS, | | ---------------------- | - | | ------ | | | BASE | | | | | ) | | | |

ABSTRACT_TYPELOC [1/2]

| #define ABSTRACT_TYPELOC | ( | | CLASS, | | ------------------------- | - | | ------ | | | BASE | | | | | ) | | | |

ABSTRACT_TYPELOC [2/2]

| #define ABSTRACT_TYPELOC | ( | | CLASS, | | ------------------------- | - | | ------ | | | BASE | | | | | ) | | | |

DECL [1/3]

| #define DECL | ( | | CLASS, | | ------------ | - | | ------ | | | BASE | | | | | ) | | | |

DECL [2/3]

| #define DECL | ( | | CLASS, | | ------------ | - | | ------ | | | BASE | | | | | ) | | | |

DECL [3/3]

| #define DECL | ( | | CLASS, | | ------------ | - | | ------ | | | BASE | | | | | ) | | | |

Value:

bool DynamicRecursiveASTVisitor::Traverse##CLASS##Decl(CLASS##Decl *D) { \

return Impl(*this).RecursiveASTVisitor::Traverse##CLASS##Decl(D); \

} \

bool DynamicRecursiveASTVisitor::WalkUpFrom##CLASS##Decl(CLASS##Decl *D) { \

return Impl(*this).RecursiveASTVisitor::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 at line 390 of file DynamicRecursiveASTVisitor.cpp.

DEF_TRAVERSE_TMPL_INST [2/2]

| #define DEF_TRAVERSE_TMPL_INST | ( | | kind | ) | | --------------------------------- | - | | ---- | - |

Value:

bool DynamicRecursiveASTVisitor::TraverseTemplateInstantiations( \

return Impl(*this) \

.RecursiveASTVisitor::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); } | | |

STMT [2/4]

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

STMT [3/4]

| #define STMT | ( | | CLASS, | | ------------ | - | | ------ | | | PARENT | | | | | ) | | | |

Value:

bool DynamicRecursiveASTVisitor::Traverse##CLASS(CLASS *S) { \

return Impl(*this).RecursiveASTVisitor::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::WalkUpFrom##CLASS(S); \

}

Definition at line 420 of file DynamicRecursiveASTVisitor.cpp.

TYPE [1/3]

| #define TYPE | ( | | CLASS, | | ------------ | - | | ------ | | | BASE | | | | | ) | | | |

TYPE [2/3]

| #define TYPE | ( | | CLASS, | | ------------ | - | | ------ | | | BASE | | | | | ) | | | |

TYPE [3/3]

| #define TYPE | ( | | CLASS, | | ------------ | - | | ------ | | | BASE | | | | | ) | | | |

Value:

bool DynamicRecursiveASTVisitor::Traverse##CLASS##Type(CLASS##Type *T) { \

return Impl(*this).RecursiveASTVisitor::Traverse##CLASS##Type(T); \

} \

bool DynamicRecursiveASTVisitor::WalkUpFrom##CLASS##Type(CLASS##Type *T) { \

return Impl(*this).RecursiveASTVisitor::WalkUpFrom##CLASS##Type(T); \

}

Definition at line 428 of file DynamicRecursiveASTVisitor.cpp.

TYPELOC [1/4]

| #define TYPELOC | ( | | CLASS, | | --------------- | - | | ------ | | | BASE | | | | | ) | | | |

TYPELOC [2/4]

| #define TYPELOC | ( | | CLASS, | | --------------- | - | | ------ | | | BASE | | | | | ) | | | |

TYPELOC [3/4]

| #define TYPELOC | ( | | CLASS, | | --------------- | - | | ------ | | | BASE | | | | | ) | | | |

TYPELOC [4/4]

| #define TYPELOC | ( | | CLASS, | | --------------- | - | | ------ | | | BASE | | | | | ) | | | |