clang 24.0.0git
BuiltinTraits.h File Reference

Defines enumerations for traits support. More...

#include "llvm/Support/Compiler.h"
#include "clang/Basic/Traits.inc"

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 EMIT_ENUMS
 Names for traits that operate specifically on types.

Functions

const char * clang::getTraitName (TypeTrait T) LLVM_READONLY
 Return the internal name of the trait T. Never null.
const char * clang::getTraitName (ArrayTypeTrait T) LLVM_READONLY
const char * clang::getTraitName (UnaryExprOrTypeTrait T) LLVM_READONLY
const char * clang::getTraitName (ExpressionTrait T) LLVM_READONLY
const char * clang::getTraitSpelling (TypeTrait T) LLVM_READONLY
 Return the spelling of the trait T. Never null.
const char * clang::getTraitSpelling (ArrayTypeTrait T) LLVM_READONLY
const char * clang::getTraitSpelling (UnaryExprOrTypeTrait T) LLVM_READONLY
const char * clang::getTraitSpelling (ExpressionTrait T) LLVM_READONLY
unsigned clang::getTypeTraitArity (TypeTrait T) LLVM_READONLY
 Return the arity of the type trait T.

Detailed Description

Defines enumerations for traits support.

Definition in file BuiltinTraits.h.

Macro Definition Documentation

◆ EMIT_ENUMS

#define EMIT_ENUMS

Names for traits that operate specifically on types.

Names for the array type traits. Names for the "expression or type" traits. Names for the expression traits.

Definition at line 47 of file BuiltinTraits.h.