|
clang 22.0.0git
|
Defines enumerations for the type traits support. More...
#include "llvm/Support/Compiler.h"#include "clang/Basic/TokenKinds.def"Go to the source code of this file.
Namespaces | |
| namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI. | |
Macros | |
| #define | TYPE_TRAIT_1(Spelling, Name, Key) |
| #define | TYPE_TRAIT_1(Spelling, Name, Key) |
| #define | TYPE_TRAIT_2(Spelling, Name, Key) |
| #define | TYPE_TRAIT_2(Spelling, Name, Key) |
| #define | TYPE_TRAIT_N(Spelling, Name, Key) |
| #define | TYPE_TRAIT_N(Spelling, Name, Key) |
| #define | ARRAY_TYPE_TRAIT(Spelling, Name, Key) |
| #define | ARRAY_TYPE_TRAIT(Spelling, Name, Key) |
| #define | UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) |
| #define | CXX11_UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) |
| #define | UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) |
| #define | CXX11_UNARY_EXPR_OR_TYPE_TRAIT(Spelling, Name, Key) |
Enumerations | |
| enum | clang::TypeTrait { clang::UTT_Last , clang::BTT_Last , clang::TT_Last } |
| Names for traits that operate specifically on types. More... | |
| enum | clang::ArrayTypeTrait { clang::ATT_Last } |
| Names for the array type traits. More... | |
| enum | clang::UnaryExprOrTypeTrait { clang::UETT_Last } |
| Names for the "expression or type" traits. More... | |
Functions | |
| const char * | clang::getTraitName (TypeTrait T) LLVM_READONLY |
Return the internal name of type trait T. Never null. | |
| const char * | clang::getTraitName (ArrayTypeTrait T) LLVM_READONLY |
| const char * | clang::getTraitName (UnaryExprOrTypeTrait T) LLVM_READONLY |
| const char * | clang::getTraitSpelling (TypeTrait T) LLVM_READONLY |
Return the spelling of the type trait TT. Never null. | |
| const char * | clang::getTraitSpelling (ArrayTypeTrait T) LLVM_READONLY |
| const char * | clang::getTraitSpelling (UnaryExprOrTypeTrait T) LLVM_READONLY |
| unsigned | clang::getTypeTraitArity (TypeTrait T) LLVM_READONLY |
Return the arity of the type trait T. | |
Defines enumerations for the type traits support.
Definition in file TypeTraits.h.
| #define ARRAY_TYPE_TRAIT | ( | Spelling, | |
| Name, | |||
| Key ) |
Definition at line 43 of file TypeTraits.h.
| #define ARRAY_TYPE_TRAIT | ( | Spelling, | |
| Name, | |||
| Key ) |
Definition at line 43 of file TypeTraits.h.
| #define CXX11_UNARY_EXPR_OR_TYPE_TRAIT | ( | Spelling, | |
| Name, | |||
| Key ) |
Definition at line 53 of file TypeTraits.h.
| #define CXX11_UNARY_EXPR_OR_TYPE_TRAIT | ( | Spelling, | |
| Name, | |||
| Key ) |
Definition at line 53 of file TypeTraits.h.
| #define TYPE_TRAIT_1 | ( | Spelling, | |
| Name, | |||
| Key ) |
Definition at line 22 of file TypeTraits.h.
| #define TYPE_TRAIT_1 | ( | Spelling, | |
| Name, | |||
| Key ) |
Definition at line 22 of file TypeTraits.h.
| #define TYPE_TRAIT_2 | ( | Spelling, | |
| Name, | |||
| Key ) |
Definition at line 28 of file TypeTraits.h.
| #define TYPE_TRAIT_2 | ( | Spelling, | |
| Name, | |||
| Key ) |
Definition at line 28 of file TypeTraits.h.
| #define TYPE_TRAIT_N | ( | Spelling, | |
| Name, | |||
| Key ) |
Definition at line 34 of file TypeTraits.h.
| #define TYPE_TRAIT_N | ( | Spelling, | |
| Name, | |||
| Key ) |
Definition at line 34 of file TypeTraits.h.
| #define UNARY_EXPR_OR_TYPE_TRAIT | ( | Spelling, | |
| Name, | |||
| Key ) |
Definition at line 52 of file TypeTraits.h.
| #define UNARY_EXPR_OR_TYPE_TRAIT | ( | Spelling, | |
| Name, | |||
| Key ) |
Definition at line 52 of file TypeTraits.h.