clang 20.0.0git
Macros | Variables
ExpressionTraits.cpp File Reference
#include "clang/Basic/ExpressionTraits.h"
#include "llvm/Support/ErrorHandling.h"
#include <cassert>
#include "clang/Basic/TokenKinds.def"

Go to the source code of this file.

Macros

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

Variables

static constexpr const char * ExpressionTraitNames []
 
static constexpr const char * ExpressionTraitSpellings []
 

Macro Definition Documentation

◆ EXPRESSION_TRAIT [1/2]

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

◆ EXPRESSION_TRAIT [2/2]

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

Variable Documentation

◆ ExpressionTraitNames

constexpr const char* ExpressionTraitNames[]
staticconstexpr
Initial value:
= {
#define EXPRESSION_TRAIT(Spelling, Name, Key)
}

Definition at line 18 of file ExpressionTraits.cpp.

Referenced by clang::getTraitName().

◆ ExpressionTraitSpellings

constexpr const char* ExpressionTraitSpellings[]
staticconstexpr
Initial value:
= {
#define EXPRESSION_TRAIT(Spelling, Name, Key)
}

Definition at line 23 of file ExpressionTraits.cpp.

Referenced by clang::getTraitSpelling().