clang API Documentation

Defines
TypeLoc.cpp File Reference
#include "clang/AST/TypeLoc.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Expr.h"
#include "clang/AST/TypeLocVisitor.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include "clang/AST/TypeLocNodes.def"
Include dependency graph for TypeLoc.cpp:

Go to the source code of this file.

Defines

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

Define Documentation

#define ABSTRACT_TYPELOC (   CLASS,
  PARENT 
)

Definition at line 212 of file TypeLoc.cpp.

#define ABSTRACT_TYPELOC (   CLASS,
  PARENT 
)

Definition at line 212 of file TypeLoc.cpp.

#define ABSTRACT_TYPELOC (   CLASS,
  PARENT 
)

Definition at line 212 of file TypeLoc.cpp.

#define ABSTRACT_TYPELOC (   CLASS,
  PARENT 
)

Definition at line 212 of file TypeLoc.cpp.

#define ABSTRACT_TYPELOC (   CLASS,
  PARENT 
)

Definition at line 212 of file TypeLoc.cpp.

#define ABSTRACT_TYPELOC (   CLASS,
  PARENT 
)

Definition at line 212 of file TypeLoc.cpp.

#define TYPELOC (   CLASS,
  PARENT 
)
Value:
SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
      return TyLoc.getLocalSourceRange(); \
    }

Definition at line 213 of file TypeLoc.cpp.

#define TYPELOC (   CLASS,
  PARENT 
)
Value:
unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
      return TyLoc.getLocalDataAlignment(); \
    }

Definition at line 213 of file TypeLoc.cpp.

#define TYPELOC (   CLASS,
  PARENT 
)
Value:
unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
      return TyLoc.getLocalDataSize(); \
    }

Definition at line 213 of file TypeLoc.cpp.

#define TYPELOC (   CLASS,
  PARENT 
)
Value:
TypeLoc Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
      return TyLoc.getNextTypeLoc(); \
    }

Definition at line 213 of file TypeLoc.cpp.

#define TYPELOC (   CLASS,
  PARENT 
)
Value:
case CLASS: {                     \
      CLASS##TypeLoc TLCasted = TL.castAs<CLASS##TypeLoc>(); \
      TLCasted.initializeLocal(Context, Loc);  \
      TL = TLCasted.getNextTypeLoc(); \
      if (!TL) return;                \
      continue;                       \
    }

Definition at line 213 of file TypeLoc.cpp.

#define TYPELOC (   CLASS,
  PARENT 
)
Value:
bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \
      return isTypeSpec(TyLoc); \
    }

Definition at line 213 of file TypeLoc.cpp.