clang API Documentation

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

Defines

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

Define Documentation

#define ABSTRACT_TYPELOC (   CLASS,
  PARENT 
)
#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; \
    }