clang  6.0.0svn
Namespaces | Macros
ASTTypeTraits.cpp File Reference
#include "clang/AST/ASTTypeTraits.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclNodes.inc"
#include "clang/AST/StmtNodes.inc"
#include "clang/AST/TypeNodes.def"
Include dependency graph for ASTTypeTraits.cpp:

Go to the source code of this file.

Namespaces

 clang
 Dataflow Directional Tag Classes.
 
 clang::ast_type_traits
 

Macros

#define DECL(DERIVED, BASE)   { NKI_##BASE, #DERIVED "Decl" },
 
#define STMT(DERIVED, BASE)   { NKI_##BASE, #DERIVED },
 
#define TYPE(DERIVED, BASE)   { NKI_##BASE, #DERIVED "Type" },
 
#define DECL(DERIVED, BASE)   case Decl::DERIVED: return ASTNodeKind(NKI_##DERIVED##Decl);
 
#define ABSTRACT_DECL(D)
 
#define STMT(CLASS, PARENT)   case Stmt::CLASS##Class: return ASTNodeKind(NKI_##CLASS);
 
#define ABSTRACT_STMT(S)
 
#define TYPE(Class, Base)   case Type::Class: return ASTNodeKind(NKI_##Class##Type);
 
#define ABSTRACT_TYPE(Class, Base)
 

Macro Definition Documentation

◆ ABSTRACT_DECL

#define ABSTRACT_DECL (   D)

◆ ABSTRACT_STMT

#define ABSTRACT_STMT (   S)

◆ ABSTRACT_TYPE

#define ABSTRACT_TYPE (   Class,
  Base 
)

◆ DECL [1/2]

#define DECL (   DERIVED,
  BASE 
)    { NKI_##BASE, #DERIVED "Decl" },

◆ DECL [2/2]

#define DECL (   DERIVED,
  BASE 
)    case Decl::DERIVED: return ASTNodeKind(NKI_##DERIVED##Decl);

◆ STMT [1/2]

#define STMT (   DERIVED,
  BASE 
)    { NKI_##BASE, #DERIVED },

◆ STMT [2/2]

#define STMT (   CLASS,
  PARENT 
)    case Stmt::CLASS##Class: return ASTNodeKind(NKI_##CLASS);

◆ TYPE [1/2]

#define TYPE (   DERIVED,
  BASE 
)    { NKI_##BASE, #DERIVED "Type" },

◆ TYPE [2/2]

#define TYPE (   Class,
  Base 
)    case Type::Class: return ASTNodeKind(NKI_##Class##Type);