clang 22.0.0git
ExpressionTraits.h File Reference

Defines enumerations for expression traits intrinsics. 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 EXPRESSION_TRAIT(Spelling, Name, Key)
#define EXPRESSION_TRAIT(Spelling, Name, Key)

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.
const char * clang::getTraitSpelling (ExpressionTrait T) LLVM_READONLY
 Return the spelling of the type trait TT. Never null.

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 )
Value:
ET_##Name,

Definition at line 22 of file ExpressionTraits.h.

◆ EXPRESSION_TRAIT [2/2]

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

Definition at line 22 of file ExpressionTraits.h.