clang  14.0.0git
Namespaces | Macros | Enumerations | Functions
ExpressionTraits.h File Reference
#include "llvm/Support/Compiler.h"
#include "clang/Basic/TokenKinds.def"
Include dependency graph for ExpressionTraits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 clang
 

Macros

#define EXPRESSION_TRAIT(Spelling, Name, Key)   ET_##Name,
 
#define EXPRESSION_TRAIT(Spelling, Name, Key)   +1
 

Enumerations

enum  clang::ExpressionTrait { clang::ET_Last }
 

Functions

const char * clang::getTraitName (ExpressionTrait T) LLVM_READONLY
 Return the internal name of type trait T. Never null. More...
 
const char * clang::getTraitSpelling (ExpressionTrait T) LLVM_READONLY
 Return the spelling of the type trait TT. Never null. More...
 

Detailed Description

Defines enumerations for expression traits intrinsics.

Definition in file ExpressionTraits.h.

Macro Definition Documentation

◆ EXPRESSION_TRAIT [1/2]

#define EXPRESSION_TRAIT (   Spelling,
  Name,
  Key 
)    ET_##Name,

Definition at line 22 of file ExpressionTraits.h.

◆ EXPRESSION_TRAIT [2/2]

#define EXPRESSION_TRAIT (   Spelling,
  Name,
  Key 
)    +1

Definition at line 22 of file ExpressionTraits.h.