original) (raw)
clang: lib/Driver/Types.cpp File Reference (#include "[clang/Driver/Types.h](Driver%5F2Types%5F8h%5Fsource.html)"
#include "[clang/Driver/Driver.h](Driver%5F8h%5Fsource.html)"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringSwitch.h"
#include <cassert>
#include <cstring>
#include "clang/Driver/Types.def"
Go to the source code of this file.
Macros | |
---|---|
#define | TYPE(NAME, ID, PP_TYPE, TEMP_SUFFIX, ...) { NAME, TEMP_SUFFIX, TY_##PP_TYPE, { __VA_ARGS__ }, }, |
Functions | |
---|---|
static const TypeInfo & | getInfo (unsigned id) |
static bool | isPreprocessedModuleType (ID Id) |
static bool | isPreprocessedHeaderUnitType (ID Id) |
◆ TYPE
| #define TYPE | ( | | NAME, | | ------------------------------------------------------------- | -------------------------------------------------------------- | | ----- | | | ID, | | | | | | PP_TYPE, | | | | | | TEMP_SUFFIX, | | | | | | ... | | | | | ) | { NAME, TEMP_SUFFIX, TY_##PP_TYPE, { __VA_ARGS__ }, }, | | |
◆ getInfo()
◆ isPreprocessedHeaderUnitType()
static bool isPreprocessedHeaderUnitType ( ID Id) | static |
---|
◆ isPreprocessedModuleType()
static bool isPreprocessedModuleType ( ID Id) | static |
---|
◆ numTypes
◆ TypeInfos
Initial value:
= {
#define TYPE(NAME, ID, PP_TYPE, TEMP_SUFFIX, ...)
}
Definition at line 36 of file Types.cpp.
Referenced by getInfo().