clang 22.0.0git
ParseDeclCXX.cpp File Reference

Go to the source code of this file.

Macros

#define TRANSFORM_TYPE_TRAIT_DEF(_, Trait)
#define TRANSFORM_TYPE_TRAIT_DEF(_, Trait)

Functions

static FixItHint getStaticAssertNoMessageFixIt (const Expr *AssertExpr, SourceLocation EndExprLoc)
static void diagnoseDynamicExceptionSpecification (Parser &P, SourceRange Range, bool IsNoexcept)
static bool IsBuiltInOrStandardCXX11Attribute (IdentifierInfo *AttrName, IdentifierInfo *ScopeName)

Macro Definition Documentation

◆ TRANSFORM_TYPE_TRAIT_DEF [1/2]

#define TRANSFORM_TYPE_TRAIT_DEF ( _,
Trait )
Value:
case tok::kw___##Trait: \
return DeclSpec::TST_##Trait;

◆ TRANSFORM_TYPE_TRAIT_DEF [2/2]

#define TRANSFORM_TYPE_TRAIT_DEF ( _,
Trait )
Value:
tok::kw___##Trait,

Function Documentation

◆ diagnoseDynamicExceptionSpecification()

void diagnoseDynamicExceptionSpecification ( Parser & P,
SourceRange Range,
bool IsNoexcept )
static

◆ getStaticAssertNoMessageFixIt()

FixItHint getStaticAssertNoMessageFixIt ( const Expr * AssertExpr,
SourceLocation EndExprLoc )
static

◆ IsBuiltInOrStandardCXX11Attribute()

bool IsBuiltInOrStandardCXX11Attribute ( IdentifierInfo * AttrName,
IdentifierInfo * ScopeName )
static