clang 22.0.0git
|
Combines information about the source-code form of an attribute, including its syntax and spelling. More...
#include "clang/Basic/AttributeCommonInfo.h"
Public Member Functions | |
constexpr | Form (Syntax SyntaxUsed, unsigned SpellingIndex, bool IsAlignas, bool IsRegularKeywordAttribute) |
constexpr | Form (tok::TokenKind Tok) |
Syntax | getSyntax () const |
unsigned | getSpellingIndex () const |
bool | isAlignas () const |
bool | isRegularKeywordAttribute () const |
Static Public Member Functions | |
static Form | GNU () |
static Form | CXX11 () |
static Form | C23 () |
static Form | Declspec () |
static Form | Microsoft () |
static Form | Keyword (bool IsAlignas, bool IsRegularKeywordAttribute) |
static Form | Pragma () |
static Form | ContextSensitiveKeyword () |
static Form | HLSLAnnotation () |
static Form | Implicit () |
Combines information about the source-code form of an attribute, including its syntax and spelling.
Definition at line 106 of file AttributeCommonInfo.h.
|
inlineconstexpr |
Definition at line 108 of file AttributeCommonInfo.h.
Referenced by C23(), ContextSensitiveKeyword(), CXX11(), Declspec(), GNU(), HLSLAnnotation(), Implicit(), Keyword(), Microsoft(), and Pragma().
|
inlineconstexpr |
Definition at line 113 of file AttributeCommonInfo.h.
References clang::AttributeCommonInfo::AS_Keyword, isRegularKeywordAttribute(), clang::AttributeCommonInfo::SpellingNotCalculated, and Tok.
|
inlinestatic |
Definition at line 125 of file AttributeCommonInfo.h.
References clang::AttributeCommonInfo::AS_C23, and Form().
|
inlinestatic |
Definition at line 133 of file AttributeCommonInfo.h.
References clang::AttributeCommonInfo::AS_ContextSensitiveKeyword, and Form().
|
inlinestatic |
Definition at line 124 of file AttributeCommonInfo.h.
References clang::AttributeCommonInfo::AS_CXX11, and Form().
|
inlinestatic |
Definition at line 126 of file AttributeCommonInfo.h.
References clang::AttributeCommonInfo::AS_Declspec, and Form().
|
inline |
Definition at line 119 of file AttributeCommonInfo.h.
|
inline |
Definition at line 118 of file AttributeCommonInfo.h.
|
inlinestatic |
Definition at line 123 of file AttributeCommonInfo.h.
References clang::AttributeCommonInfo::AS_GNU, and Form().
|
inlinestatic |
Definition at line 134 of file AttributeCommonInfo.h.
References clang::AttributeCommonInfo::AS_HLSLAnnotation, and Form().
|
inlinestatic |
Definition at line 135 of file AttributeCommonInfo.h.
References clang::AttributeCommonInfo::AS_Implicit, and Form().
|
inline |
Definition at line 120 of file AttributeCommonInfo.h.
|
inline |
Definition at line 121 of file AttributeCommonInfo.h.
Referenced by Form().
|
inlinestatic |
Definition at line 128 of file AttributeCommonInfo.h.
References clang::AttributeCommonInfo::AS_Keyword, Form(), and clang::AttributeCommonInfo::SpellingNotCalculated.
|
inlinestatic |
Definition at line 127 of file AttributeCommonInfo.h.
References clang::AttributeCommonInfo::AS_Microsoft, and Form().
|
inlinestatic |
Definition at line 132 of file AttributeCommonInfo.h.
References clang::AttributeCommonInfo::AS_Pragma, and Form().
Referenced by clang::Sema::ActOnPragmaRedefineExtname(), and clang::SemaObjC::AddCFAuditedAttribute().