clang 19.0.0git
|
Go to the source code of this file.
Namespaces | |
namespace | clang |
The JSON file list parser is used to communicate input to InstallAPI. | |
Enumerations | |
enum class | GCCTypeClass { None = -1 , Void = 0 , Integer = 1 , Enum = 3 , Bool = 4 , Pointer = 5 , PointerToDataMember = 7 , RealFloat = 8 , Complex = 9 , PointerToMemberFunction = 12 , ClassOrStruct = 12 , Union = 13 , BitInt = 18 , Vector = 19 } |
Values returned by __builtin_classify_type, chosen to match the values produced by GCC's builtin. More... | |
Functions | |
GCCTypeClass | EvaluateBuiltinClassifyType (QualType T, const LangOptions &LangOpts) |
EvaluateBuiltinClassifyType - Evaluate __builtin_classify_type the same way as GCC. | |
|
strong |
Values returned by __builtin_classify_type, chosen to match the values produced by GCC's builtin.
Enumerator | |
---|---|
None | |
Void | |
Integer | |
Enum | |
Bool | |
Pointer | |
PointerToDataMember | |
RealFloat | |
Complex | |
PointerToMemberFunction | |
ClassOrStruct | |
Union | |
BitInt | |
Vector |
Definition at line 24 of file ExprConstShared.h.
GCCTypeClass EvaluateBuiltinClassifyType | ( | QualType | T, |
const LangOptions & | LangOpts | ||
) |
EvaluateBuiltinClassifyType - Evaluate __builtin_classify_type the same way as GCC.
Definition at line 11725 of file ExprConstant.cpp.
References clang::Type::castAs(), EvaluateBuiltinClassifyType(), getKind(), clang::Type::getTypeClass(), clang::AtomicType::getValueType(), clang::Type::isDependentType(), clang::Type::isMemberDataPointerType(), clang::Type::isUnionType(), and clang::T.
Referenced by EvaluateBuiltinClassifyType(), and clang::interp::interp__builtin_classify_type().