clang  6.0.0svn
Macros | Functions
DeclSpec.cpp File Reference
#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/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 dependency graph for DeclSpec.cpp:

Go to the source code of this file.

Macros

#define GENERIC_IMAGE_TYPE(ImgType, Id)   case TST_##ImgType##_t:
 
#define GENERIC_IMAGE_TYPE(ImgType, Id)
 

Functions

template<class T >
static bool BadSpecifier (T TNew, T TPrev, const char *&PrevSpec, unsigned &DiagID, bool IsExtension=true)
 

Macro Definition Documentation

◆ 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";

Function Documentation

◆ BadSpecifier()

template<class T >
static bool BadSpecifier ( TNew,
TPrev,
const char *&  PrevSpec,
unsigned &  DiagID,
bool  IsExtension = true 
)
static