14#include "llvm/Support/ErrorHandling.h"
19#define EXPRESSION_TRAIT(Spelling, Name, Key) #Name,
20#include "clang/Basic/TokenKinds.def"
24#define EXPRESSION_TRAIT(Spelling, Name, Key) #Spelling,
25#include "clang/Basic/TokenKinds.def"
29 assert(
T <=
ET_Last &&
"invalid enum value!");
34 assert(
T <=
ET_Last &&
"invalid enum value!");
static constexpr const char * ExpressionTraitSpellings[]
static constexpr const char * ExpressionTraitNames[]
Defines enumerations for expression traits intrinsics.
The JSON file list parser is used to communicate input to InstallAPI.
const char * getTraitName(ExpressionTrait T) LLVM_READONLY
Return the internal name of type trait T. Never null.
const char * getTraitSpelling(ExpressionTrait T) LLVM_READONLY
Return the spelling of the type trait TT. Never null.
const FunctionProtoType * T