#include "clang/Driver/Types.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringSwitch.h"
#include <cassert>
#include <string.h>
#include "clang/Driver/Types.def"
Go to the source code of this file.
|
#define | TYPE(NAME, ID, PP_TYPE, TEMP_SUFFIX, FLAGS) { NAME, FLAGS, TEMP_SUFFIX, TY_##PP_TYPE, }, |
|
◆ TYPE
#define TYPE |
( |
|
NAME, |
|
|
|
ID, |
|
|
|
PP_TYPE, |
|
|
|
TEMP_SUFFIX, |
|
|
|
FLAGS |
|
) |
| { NAME, FLAGS, TEMP_SUFFIX, TY_##PP_TYPE, }, |
◆ getInfo()
static const TypeInfo& getInfo |
( |
unsigned |
id | ) |
|
|
static |
Definition at line 33 of file Types.cpp.
References numTypes.
Referenced by clang::driver::types::appendSuffixForType(), clang::driver::types::canTypeBeUserSpecified(), clang::consumed::ConsumedBlockInfo::ConsumedBlockInfo(), clang::CodeGen::LoopInfoStack::getCurLoopID(), clang::CodeGen::LoopInfoStack::getCurLoopParallel(), clang::driver::types::getPrecompiledType(), clang::driver::types::getPreprocessedType(), clang::driver::types::getTypeName(), clang::driver::types::getTypeTempSuffix(), clang::CodeGen::LoopInfoStack::InsertHelper(), clang::driver::types::onlyAssembleType(), clang::driver::types::onlyPrecompileType(), clang::CodeGen::LoopInfoStack::setPipelineInitiationInterval(), and clang::consumed::ConsumedStmtVisitor::VisitCXXOperatorCallExpr().
◆ numTypes
const unsigned numTypes = llvm::array_lengthof(TypeInfos) |
|
static |
◆ TypeInfos
Initial value:= {
#define TYPE(NAME, ID, PP_TYPE, TEMP_SUFFIX, FLAGS)
}
Definition at line 25 of file Types.cpp.