clang: include/clang/Basic/Specifiers.h File Reference (original) (raw)
Defines various enumerations that describe declaration and type specifiers. More...
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/Support/ErrorHandling.h"
#include "clang/Basic/TransformTypeTraits.def"
#include "clang/Basic/OpenCLImageTypes.def"
#include "clang/Basic/HLSLIntangibleTypes.def"
Go to the source code of this file.
Classes | |
---|---|
struct | clang::WrittenBuiltinSpecs |
Structure that packs information about the type specifiers that were written in a particular type specifier sequence. More... | |
Namespaces | |
---|---|
namespace | llvm |
Diagnostic wrappers for TextAPI types for error reporting. | |
namespace | clang |
The JSON file list parser is used to communicate input to InstallAPI. | |
Macros | |
---|---|
#define | TRANSFORM_TYPE_TRAIT_DEF(_, Trait) TST_##Trait, |
#define | GENERIC_IMAGE_TYPE(ImgType, Id) TST_##ImgType##_t, |
#define | HLSL_INTANGIBLE_TYPE(Name, Id, SingletonId) TST_##Name, |
Functions | |
---|---|
bool | clang::isTemplateInstantiation (TemplateSpecializationKind Kind) |
Determine whether this template specialization kind refers to an instantiation of an entity (as opposed to a non-template or an explicit specialization). | |
bool | clang::isTemplateExplicitInstantiationOrSpecialization (TemplateSpecializationKind Kind) |
True if this template specialization kind is an explicit specialization, explicit instantiation declaration, or explicit instantiation definition. | |
bool | clang::isLegalForFunction (StorageClass SC) |
Checks whether the given storage class is legal for functions. | |
bool | clang::isLegalForVariable (StorageClass SC) |
Checks whether the given storage class is legal for variables. | |
bool | clang::supportsVariadicCall (CallingConv CC) |
Checks whether the given calling convention supports variadic calls. | |
llvm::raw_ostream & | clang::operator<< (llvm::raw_ostream &, NullabilityKind) |
Prints human-readable debug representation. | |
bool | clang::hasWeakerNullability (NullabilityKind L, NullabilityKind R) |
Return true if L has a weaker nullability annotation than R. | |
llvm::StringRef | clang::getNullabilitySpelling (NullabilityKind kind, bool isContextSensitive=false) |
Retrieve the spelling of the given nullability kind. | |
llvm::StringRef | clang::getParameterABISpelling (ParameterABI kind) |
llvm::StringRef | clang::getAccessSpelling (AccessSpecifier AS) |
Defines various enumerations that describe declaration and type specifiers.
Definition in file Specifiers.h.
◆ GENERIC_IMAGE_TYPE
| #define GENERIC_IMAGE_TYPE | ( | | ImgType, | | -------------------------------------------------------------- | -------------------- | | -------- | | | Id | | | | | ) | TST_##ImgType##_t, | | |
◆ HLSL_INTANGIBLE_TYPE
| #define HLSL_INTANGIBLE_TYPE | ( | | Name, | | --------------------------------------------------------------- | ------------ | | ----- | | | Id, | | | | | | SingletonId | | | | | ) | TST_##Name, | | |
◆ TRANSFORM_TYPE_TRAIT_DEF
| #define TRANSFORM_TYPE_TRAIT_DEF | ( | | _, | | ----------------------------------- | ------------- | | --- | | | Trait | | | | | ) | TST_##Trait, | | |