clang API Documentation

Namespaces | Defines
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

namespace  clang
namespace  clang::ast_type_traits

Defines

#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)

Define Documentation

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