clang  6.0.0svn
Macros
TypeLocBuilder.cpp File Reference
#include "TypeLocBuilder.h"
#include "clang/AST/TypeLocNodes.def"
Include dependency graph for TypeLocBuilder.cpp:

Go to the source code of this file.

Macros

#define ABSTRACT_TYPELOC(CLASS, PARENT)
 
#define TYPELOC(CLASS, PARENT)
 

Macro Definition Documentation

◆ ABSTRACT_TYPELOC

#define ABSTRACT_TYPELOC (   CLASS,
  PARENT 
)

◆ TYPELOC

#define TYPELOC (   CLASS,
  PARENT 
)
Value:
case TypeLoc::CLASS: { \
CLASS##TypeLoc NewTL = push<class CLASS##TypeLoc>(CurTL.getType()); \
memcpy(NewTL.getOpaqueData(), CurTL.getOpaqueData(), NewTL.getLocalDataSize()); \
break; \
}
Base wrapper for a particular "section" of type source info.
Definition: TypeLoc.h:56