#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 "clang/Basic/OpenCLImageTypes.def"
Go to the source code of this file.
|
#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 | ABSTRACT_TYPELOC(CLASS, PARENT) |
|
#define | TYPELOC(CLASS, PARENT) |
|
#define | IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix) case BuiltinType::Id: |
|
#define ABSTRACT_TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
#define ABSTRACT_TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
#define ABSTRACT_TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
#define ABSTRACT_TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
#define ABSTRACT_TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
#define ABSTRACT_TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
#define ABSTRACT_TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
#define IMAGE_TYPE |
( |
|
ImgType, |
|
|
|
Id, |
|
|
|
SingletonId, |
|
|
|
Access, |
|
|
|
Suffix |
|
) |
| case BuiltinType::Id: |
#define TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
Value:
return TyLoc.getLocalSourceRange(); \
}
Base wrapper for a particular "section" of type source info.
return(__x >> __y)|(__x<< (32-__y))
A trivial tuple used to represent a source range.
Definition at line 255 of file TypeLoc.cpp.
#define TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
Value:
return TyLoc.getLocalDataAlignment(); \
}
Base wrapper for a particular "section" of type source info.
return(__x >> __y)|(__x<< (32-__y))
Definition at line 255 of file TypeLoc.cpp.
#define TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
Value:
return TyLoc.getLocalDataSize(); \
}
Base wrapper for a particular "section" of type source info.
return(__x >> __y)|(__x<< (32-__y))
Definition at line 255 of file TypeLoc.cpp.
#define TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
Value:
return TyLoc.getNextTypeLoc(); \
}
Base wrapper for a particular "section" of type source info.
return(__x >> __y)|(__x<< (32-__y))
Definition at line 255 of file TypeLoc.cpp.
#define TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
Value:case CLASS: { \
TLCasted.initializeLocal(
Context, Loc); \
continue; \
}
Base wrapper for a particular "section" of type source info.
return(__x >> __y)|(__x<< (32-__y))
T castAs() const
Convert to the specified TypeLoc type, asserting that this TypeLoc is of the desired type...
TypeLoc getNextTypeLoc() const
Get the next TypeLoc pointed by this TypeLoc, e.g for "int*" the TypeLoc is a PointerLoc and next Typ...
if(T->getSizeExpr()) TRY_TO(TraverseStmt(T-> getSizeExpr()))
Definition at line 255 of file TypeLoc.cpp.
#define TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
Value:
dest.copyLocal(Source.castAs<CLASS##
TypeLoc>()); \
}
Base wrapper for a particular "section" of type source info.
Definition at line 255 of file TypeLoc.cpp.
#define TYPELOC |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
Value:
}
Base wrapper for a particular "section" of type source info.
return(__x >> __y)|(__x<< (32-__y))
Definition at line 255 of file TypeLoc.cpp.
const unsigned TypeLocMaxDataAlign = llvm::alignOf<void *>() |
|
static |