#include "clang/Sema/DeclSpec.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/Expr.h"
#include "clang/AST/LocInfoType.h"
#include "clang/AST/TypeLoc.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/Specifiers.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Sema/ParsedTemplate.h"
#include "clang/Sema/Sema.h"
#include "clang/Sema/SemaDiagnostic.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include <cstring>
#include "clang/Basic/OpenCLImageTypes.def"
#include "clang/Basic/HLSLIntangibleTypes.def"
#include "clang/Basic/TransformTypeTraits.def"
Go to the source code of this file.
◆ GENERIC_IMAGE_TYPE [1/2]
#define GENERIC_IMAGE_TYPE |
( |
|
ImgType, |
|
|
|
Id |
|
) |
| case TST_##ImgType##_t: |
◆ GENERIC_IMAGE_TYPE [2/2]
#define GENERIC_IMAGE_TYPE |
( |
|
ImgType, |
|
|
|
Id |
|
) |
| |
Value: case DeclSpec::TST_##ImgType##_t: \
return #ImgType "_t";
◆ HLSL_INTANGIBLE_TYPE [1/2]
#define HLSL_INTANGIBLE_TYPE |
( |
|
Name, |
|
|
|
Id, |
|
|
|
SingletonId |
|
) |
| case TST_##Name: |
◆ HLSL_INTANGIBLE_TYPE [2/2]
#define HLSL_INTANGIBLE_TYPE |
( |
|
Name, |
|
|
|
Id, |
|
|
|
SingletonId |
|
) |
| |
Value: case DeclSpec::TST_##Name: \
return #Name;
◆ TRANSFORM_TYPE_TRAIT_DEF [1/2]
#define TRANSFORM_TYPE_TRAIT_DEF |
( |
|
_, |
|
|
|
Trait |
|
) |
| case TST_##Trait: |
◆ TRANSFORM_TYPE_TRAIT_DEF [2/2]
#define TRANSFORM_TYPE_TRAIT_DEF |
( |
|
_, |
|
|
|
Trait |
|
) |
| |
Value: case DeclSpec::TST_##Trait: \
return "__" #Trait;
◆ BadSpecifier()
template<class T >
static bool BadSpecifier |
( |
T |
TNew, |
|
|
T |
TPrev, |
|
|
const char *& |
PrevSpec, |
|
|
unsigned & |
DiagID, |
|
|
bool |
IsExtension = true |
|
) |
| |
|
static |