clang
10.0.0git
|
Captures information about "declaration specifiers". More...
#include "clang/Sema/DeclSpec.h"
Public Types | |
enum | SCS { SCS_unspecified = 0, SCS_typedef, SCS_extern, SCS_static, SCS_auto, SCS_register, SCS_private_extern, SCS_mutable } |
storage-class-specifier More... | |
enum | TSC { TSC_unspecified, TSC_imaginary, TSC_complex } |
enum | TQ { TQ_unspecified = 0, TQ_const = 1, TQ_restrict = 2, TQ_volatile = 4, TQ_unaligned = 8, TQ_atomic = 16 } |
enum | ParsedSpecifiers { PQ_None = 0, PQ_StorageClassSpecifier = 1, PQ_TypeSpecifier = 2, PQ_TypeQualifier = 4, PQ_FunctionSpecifier = 8 } |
ParsedSpecifiers - Flags to query which specifiers were applied. More... | |
typedef ThreadStorageClassSpecifier | TSCS |
typedef TypeSpecifierWidth | TSW |
typedef TypeSpecifierSign | TSS |
typedef TypeSpecifierType | TST |
Public Member Functions | |
DeclSpec (AttributeFactory &attrFactory) | |
SCS | getStorageClassSpec () const |
TSCS | getThreadStorageClassSpec () const |
bool | isExternInLinkageSpec () const |
void | setExternInLinkageSpec (bool Value) |
SourceLocation | getStorageClassSpecLoc () const |
SourceLocation | getThreadStorageClassSpecLoc () const |
void | ClearStorageClassSpecs () |
void | ClearTypeSpecType () |
TSW | getTypeSpecWidth () const |
TSC | getTypeSpecComplex () const |
TSS | getTypeSpecSign () const |
TST | getTypeSpecType () const |
bool | isTypeAltiVecVector () const |
bool | isTypeAltiVecPixel () const |
bool | isTypeAltiVecBool () const |
bool | isTypeSpecOwned () const |
bool | isTypeRep () const |
bool | isTypeSpecPipe () const |
bool | isTypeSpecSat () const |
bool | isConstrainedAuto () const |
ParsedType | getRepAsType () const |
Decl * | getRepAsDecl () const |
Expr * | getRepAsExpr () const |
TemplateIdAnnotation * | getRepAsTemplateId () const |
CXXScopeSpec & | getTypeSpecScope () |
const CXXScopeSpec & | getTypeSpecScope () const |
SourceRange | getSourceRange () const LLVM_READONLY |
SourceLocation | getBeginLoc () const LLVM_READONLY |
SourceLocation | getEndLoc () const LLVM_READONLY |
SourceLocation | getTypeSpecWidthLoc () const |
SourceRange | getTypeSpecWidthRange () const |
SourceLocation | getTypeSpecComplexLoc () const |
SourceLocation | getTypeSpecSignLoc () const |
SourceLocation | getTypeSpecTypeLoc () const |
SourceLocation | getAltiVecLoc () const |
SourceLocation | getTypeSpecSatLoc () const |
SourceLocation | getTypeSpecTypeNameLoc () const |
SourceRange | getTypeofParensRange () const |
void | setTypeofParensRange (SourceRange range) |
bool | hasAutoTypeSpec () const |
bool | hasTagDefinition () const |
unsigned | getTypeQualifiers () const |
getTypeQualifiers - Return a set of TQs. More... | |
SourceLocation | getConstSpecLoc () const |
SourceLocation | getRestrictSpecLoc () const |
SourceLocation | getVolatileSpecLoc () const |
SourceLocation | getAtomicSpecLoc () const |
SourceLocation | getUnalignedSpecLoc () const |
SourceLocation | getPipeLoc () const |
void | ClearTypeQualifiers () |
Clear out all of the type qualifiers. More... | |
bool | isInlineSpecified () const |
SourceLocation | getInlineSpecLoc () const |
ExplicitSpecifier | getExplicitSpecifier () const |
bool | isVirtualSpecified () const |
SourceLocation | getVirtualSpecLoc () const |
bool | hasExplicitSpecifier () const |
SourceLocation | getExplicitSpecLoc () const |
SourceRange | getExplicitSpecRange () const |
bool | isNoreturnSpecified () const |
SourceLocation | getNoreturnSpecLoc () const |
void | ClearFunctionSpecs () |
void | forEachCVRUQualifier (llvm::function_ref< void(TQ, StringRef, SourceLocation)> Handle) |
This method calls the passed in handler on each CVRU qual being set. More... | |
void | forEachQualifier (llvm::function_ref< void(TQ, StringRef, SourceLocation)> Handle) |
This method calls the passed in handler on each qual being set. More... | |
bool | hasTypeSpecifier () const |
Return true if any type-specifier has been found. More... | |
unsigned | getParsedSpecifiers () const |
Return a bitmask of which flavors of specifiers this DeclSpec includes. More... | |
bool | isEmpty () const |
isEmpty - Return true if this declaration specifier is completely empty: no tokens were parsed in the production of it. More... | |
void | SetRangeStart (SourceLocation Loc) |
void | SetRangeEnd (SourceLocation Loc) |
bool | SetStorageClassSpec (Sema &S, SCS SC, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) |
These methods set the specified attribute of the DeclSpec and return false if there was no error. More... | |
bool | SetStorageClassSpecThread (TSCS TSC, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
bool | SetTypeSpecWidth (TSW W, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) |
These methods set the specified attribute of the DeclSpec, but return true and ignore the request if invalid (e.g. More... | |
bool | SetTypeSpecComplex (TSC C, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
bool | SetTypeSpecSign (TSS S, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
bool | SetTypeSpecType (TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) |
bool | SetTypeSpecType (TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, ParsedType Rep, const PrintingPolicy &Policy) |
bool | SetTypeSpecType (TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned, const PrintingPolicy &Policy) |
bool | SetTypeSpecType (TST T, SourceLocation TagKwLoc, SourceLocation TagNameLoc, const char *&PrevSpec, unsigned &DiagID, ParsedType Rep, const PrintingPolicy &Policy) |
bool | SetTypeSpecType (TST T, SourceLocation TagKwLoc, SourceLocation TagNameLoc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned, const PrintingPolicy &Policy) |
bool | SetTypeSpecType (TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, TemplateIdAnnotation *Rep, const PrintingPolicy &Policy) |
bool | SetTypeSpecType (TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Expr *Rep, const PrintingPolicy &policy) |
bool | SetTypeAltiVecVector (bool isAltiVecVector, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) |
bool | SetTypeAltiVecPixel (bool isAltiVecPixel, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) |
bool | SetTypeAltiVecBool (bool isAltiVecBool, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) |
bool | SetTypePipe (bool isPipe, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) |
bool | SetTypeSpecSat (SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
bool | SetTypeSpecError () |
void | UpdateDeclRep (Decl *Rep) |
void | UpdateTypeRep (ParsedType Rep) |
void | UpdateExprRep (Expr *Rep) |
bool | SetTypeQual (TQ T, SourceLocation Loc) |
bool | SetTypeQual (TQ T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const LangOptions &Lang) |
bool | setFunctionSpecInline (SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
bool | setFunctionSpecForceInline (SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
bool | setFunctionSpecVirtual (SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
bool | setFunctionSpecExplicit (SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, ExplicitSpecifier ExplicitSpec, SourceLocation CloseParenLoc) |
bool | setFunctionSpecNoreturn (SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
bool | SetFriendSpec (SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
bool | setModulePrivateSpec (SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
bool | SetConstexprSpec (ConstexprSpecKind ConstexprKind, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
bool | isFriendSpecified () const |
SourceLocation | getFriendSpecLoc () const |
bool | isModulePrivateSpecified () const |
SourceLocation | getModulePrivateSpecLoc () const |
ConstexprSpecKind | getConstexprSpecifier () const |
SourceLocation | getConstexprSpecLoc () const |
bool | hasConstexprSpecifier () const |
void | ClearConstexprSpec () |
AttributePool & | getAttributePool () const |
void | addAttributes (ParsedAttributesView &AL) |
Concatenates two attribute lists. More... | |
bool | hasAttributes () const |
ParsedAttributes & | getAttributes () |
const ParsedAttributes & | getAttributes () const |
void | takeAttributesFrom (ParsedAttributes &attrs) |
void | Finish (Sema &S, const PrintingPolicy &Policy) |
Finish - This does final analysis of the declspec, issuing diagnostics for things like "_Imaginary" (lacking an FP type). More... | |
const WrittenBuiltinSpecs & | getWrittenBuiltinSpecs () const |
ObjCDeclSpec * | getObjCQualifiers () const |
void | setObjCQualifiers (ObjCDeclSpec *quals) |
bool | isMissingDeclaratorOk () |
Checks if this DeclSpec can stand alone, without a Declarator. More... | |
Static Public Member Functions | |
static bool | isDeclRep (TST T) |
static const char * | getSpecifierName (DeclSpec::TST T, const PrintingPolicy &Policy) |
Turn a type-specifier-type into a string like "_Bool" or "union". More... | |
static const char * | getSpecifierName (DeclSpec::TQ Q) |
static const char * | getSpecifierName (DeclSpec::TSS S) |
static const char * | getSpecifierName (DeclSpec::TSC C) |
static const char * | getSpecifierName (DeclSpec::TSW W) |
static const char * | getSpecifierName (DeclSpec::SCS S) |
static const char * | getSpecifierName (DeclSpec::TSCS S) |
static const char * | getSpecifierName (ConstexprSpecKind C) |
Static Public Attributes | |
static const TSCS | TSCS_unspecified = clang::TSCS_unspecified |
static const TSCS | TSCS___thread = clang::TSCS___thread |
static const TSCS | TSCS_thread_local = clang::TSCS_thread_local |
static const TSCS | TSCS__Thread_local = clang::TSCS__Thread_local |
static const TSW | TSW_unspecified = clang::TSW_unspecified |
static const TSW | TSW_short = clang::TSW_short |
static const TSW | TSW_long = clang::TSW_long |
static const TSW | TSW_longlong = clang::TSW_longlong |
static const TSS | TSS_unspecified = clang::TSS_unspecified |
static const TSS | TSS_signed = clang::TSS_signed |
static const TSS | TSS_unsigned = clang::TSS_unsigned |
static const TST | TST_unspecified = clang::TST_unspecified |
static const TST | TST_void = clang::TST_void |
static const TST | TST_char = clang::TST_char |
static const TST | TST_wchar = clang::TST_wchar |
static const TST | TST_char8 = clang::TST_char8 |
static const TST | TST_char16 = clang::TST_char16 |
static const TST | TST_char32 = clang::TST_char32 |
static const TST | TST_int = clang::TST_int |
static const TST | TST_int128 = clang::TST_int128 |
static const TST | TST_half = clang::TST_half |
static const TST | TST_float = clang::TST_float |
static const TST | TST_double = clang::TST_double |
static const TST | TST_float16 = clang::TST_Float16 |
static const TST | TST_accum = clang::TST_Accum |
static const TST | TST_fract = clang::TST_Fract |
static const TST | TST_float128 = clang::TST_float128 |
static const TST | TST_bool = clang::TST_bool |
static const TST | TST_decimal32 = clang::TST_decimal32 |
static const TST | TST_decimal64 = clang::TST_decimal64 |
static const TST | TST_decimal128 = clang::TST_decimal128 |
static const TST | TST_enum = clang::TST_enum |
static const TST | TST_union = clang::TST_union |
static const TST | TST_struct = clang::TST_struct |
static const TST | TST_interface = clang::TST_interface |
static const TST | TST_class = clang::TST_class |
static const TST | TST_typename = clang::TST_typename |
static const TST | TST_typeofType = clang::TST_typeofType |
static const TST | TST_typeofExpr = clang::TST_typeofExpr |
static const TST | TST_decltype = clang::TST_decltype |
static const TST | TST_decltype_auto = clang::TST_decltype_auto |
static const TST | TST_underlyingType = clang::TST_underlyingType |
static const TST | TST_auto = clang::TST_auto |
static const TST | TST_auto_type = clang::TST_auto_type |
static const TST | TST_unknown_anytype = clang::TST_unknown_anytype |
static const TST | TST_atomic = clang::TST_atomic |
static const TST | TST_error = clang::TST_error |
Captures information about "declaration specifiers".
"Declaration specifiers" encompasses storage-class-specifiers, type-specifiers, type-qualifiers, and function-specifiers.
Definition at line 228 of file DeclSpec.h.
Definition at line 245 of file DeclSpec.h.
Definition at line 265 of file DeclSpec.h.
Definition at line 271 of file DeclSpec.h.
Definition at line 252 of file DeclSpec.h.
ParsedSpecifiers - Flags to query which specifiers were applied.
This is returned by getParsedSpecifiers.
Enumerator | |
---|---|
PQ_None | |
PQ_StorageClassSpecifier | |
PQ_TypeSpecifier | |
PQ_TypeQualifier | |
PQ_FunctionSpecifier |
Definition at line 326 of file DeclSpec.h.
enum clang::DeclSpec::SCS |
storage-class-specifier
Enumerator | |
---|---|
SCS_unspecified | |
SCS_typedef | |
SCS_extern | |
SCS_static | |
SCS_auto | |
SCS_register | |
SCS_private_extern | |
SCS_mutable |
Definition at line 232 of file DeclSpec.h.
enum clang::DeclSpec::TQ |
Enumerator | |
---|---|
TQ_unspecified | |
TQ_const | |
TQ_restrict | |
TQ_volatile | |
TQ_unaligned | |
TQ_atomic |
Definition at line 313 of file DeclSpec.h.
enum clang::DeclSpec::TSC |
Enumerator | |
---|---|
TSC_unspecified | |
TSC_imaginary | |
TSC_complex |
Definition at line 258 of file DeclSpec.h.
|
inline |
Definition at line 431 of file DeclSpec.h.
|
inline |
Concatenates two attribute lists.
The GCC attribute syntax allows for the following:
This declares 4 attributes using 2 lists. The following syntax is also allowed and equivalent to the previous declaration.
Definition at line 781 of file DeclSpec.h.
References clang::ParsedAttributesView::addAll(), clang::ParsedAttributesView::begin(), and clang::ParsedAttributesView::end().
|
inline |
Definition at line 755 of file DeclSpec.h.
References clang::CSK_unspecified.
|
inline |
Definition at line 597 of file DeclSpec.h.
|
inline |
Definition at line 461 of file DeclSpec.h.
References SCS_unspecified, and TSCS_unspecified.
Referenced by clang::Sema::CheckDeductionGuideDeclarator(), getFunctionStorageClass(), and clang::Parser::ParseTopLevelDecl().
|
inline |
Clear out all of the type qualifiers.
Definition at line 559 of file DeclSpec.h.
|
inline |
Definition at line 469 of file DeclSpec.h.
References TST_unspecified.
void DeclSpec::Finish | ( | Sema & | S, |
const PrintingPolicy & | Policy | ||
) |
Finish - This does final analysis of the declspec, issuing diagnostics for things like "_Imaginary" (lacking an FP type).
Finish - This does final analysis of the declspec, rejecting things like "_Imaginary" (lacking an FP type).
After calling this method, DeclSpec is guaranteed self-consistent, even if an error occurred.
This returns a diagnostic to issue or diag::NUM_DIAGNOSTICS if there is no error. After calling this method, DeclSpec is guaranteed self-consistent, even if an error occurred.
Definition at line 1069 of file DeclSpec.cpp.
Referenced by SetupFixedPointError().
void DeclSpec::forEachCVRUQualifier | ( | llvm::function_ref< void(TQ, StringRef, SourceLocation)> | Handle | ) |
This method calls the passed in handler on each CVRU qual being set.
Handle - a handler to be invoked.
Definition at line 409 of file DeclSpec.cpp.
Referenced by clang::DeclaratorChunk::getFunction().
void DeclSpec::forEachQualifier | ( | llvm::function_ref< void(TQ, StringRef, SourceLocation)> | Handle | ) |
This method calls the passed in handler on each qual being set.
Handle - a handler to be invoked.
Definition at line 421 of file DeclSpec.cpp.
Referenced by checkMethodTypeQualifiers().
|
inline |
Definition at line 518 of file DeclSpec.h.
|
inline |
Definition at line 554 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFriendTypeDecl(), clang::Sema::BuildQualifiedType(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckDestructorDeclarator(), diagnoseRedundantReturnTypeQualifiers(), and isPipeDeclerator().
|
inline |
Definition at line 760 of file DeclSpec.h.
References clang::ParsedAttributes::getPool().
Referenced by clang::DeclaratorChunk::getFunction(), and takeDeclAttributes().
|
inline |
Definition at line 787 of file DeclSpec.h.
Referenced by addContextSensitiveTypeNullability(), distributeObjCPointerTypeAttrFromDeclarator(), getCCForDeclaratorChunk(), GetDeclSpecTypeForDeclarator(), clang::DeclaratorChunk::getFunction(), getMissingDeclaratorIdLoc(), clang::DeclaratorChunk::FunctionTypeInfo::hasMethodTypeQualifiers(), isPipeDeclerator(), clang::Parser::ParseTopLevelDecl(), and takeDeclAttributes().
|
inline |
Definition at line 788 of file DeclSpec.h.
|
inline |
Definition at line 510 of file DeclSpec.h.
References clang::SourceRange::getBegin().
Referenced by clang::Sema::ActOnFriendTypeDecl(), and clang::Sema::CheckDeductionGuideDeclarator().
|
inline |
Definition at line 746 of file DeclSpec.h.
|
inline |
Definition at line 750 of file DeclSpec.h.
Referenced by clang::Sema::CheckMain().
|
inline |
Definition at line 551 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFriendTypeDecl(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckDestructorDeclarator(), diagnoseRedundantReturnTypeQualifiers(), clang::DeclaratorChunk::FunctionTypeInfo::getConstQualifierLoc(), and isPipeDeclerator().
|
inline |
Definition at line 511 of file DeclSpec.h.
References clang::SourceRange::getEnd().
Referenced by isPipeDeclerator().
|
inline |
Definition at line 577 of file DeclSpec.h.
|
inline |
Definition at line 587 of file DeclSpec.h.
Referenced by clang::Sema::DiagnoseFunctionSpecifiers().
|
inline |
Definition at line 588 of file DeclSpec.h.
References clang::ExplicitSpecifier::getExpr().
|
inline |
Definition at line 741 of file DeclSpec.h.
|
inline |
Definition at line 573 of file DeclSpec.h.
Referenced by clang::Sema::CheckMain().
|
inline |
Definition at line 744 of file DeclSpec.h.
|
inline |
Definition at line 595 of file DeclSpec.h.
Referenced by clang::Sema::CheckMain(), and clang::Sema::DiagnoseFunctionSpecifiers().
|
inline |
Definition at line 803 of file DeclSpec.h.
unsigned DeclSpec::getParsedSpecifiers | ( | ) | const |
Return a bitmask of which flavors of specifiers this DeclSpec includes.
getParsedSpecifiers - Return a bitmask of which flavors of specifiers this declaration specifier includes.
Definition at line 436 of file DeclSpec.cpp.
References clang::TSCS_unspecified.
Referenced by GetDeclSpecTypeForDeclarator(), clang::Parser::ParseTopLevelDecl(), and warnAboutRedundantParens().
|
inline |
Definition at line 556 of file DeclSpec.h.
Referenced by isPipeDeclerator().
|
inline |
Definition at line 493 of file DeclSpec.h.
Referenced by GetDeclSpecTypeForDeclarator().
|
inline |
Definition at line 497 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXNestedNameSpecifierDecltype(), clang::Sema::ActOnPseudoDestructorExpr(), clang::Sema::BuildMemInitializer(), clang::Sema::containsUnexpandedParameterPacks(), and clang::Sema::getDestructorTypeForDecltype().
|
inline |
Definition at line 501 of file DeclSpec.h.
Referenced by InventTemplateParameter().
|
inline |
Definition at line 489 of file DeclSpec.h.
Referenced by clang::Sema::containsUnexpandedParameterPacks().
|
inline |
Definition at line 552 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFriendTypeDecl(), clang::Sema::BuildQualifiedType(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckDestructorDeclarator(), diagnoseRedundantReturnTypeQualifiers(), clang::DeclaratorChunk::FunctionTypeInfo::getRestrictQualifierLoc(), and isPipeDeclerator().
|
inline |
Definition at line 509 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFriendTypeDecl(), clang::Declarator::clear(), clang::Declarator::ExtendWithDeclSpec(), getMissingDeclaratorIdLoc(), clang::Parser::ParseTopLevelDecl(), clang::Parser::ParseUnqualifiedId(), and SetupFixedPointError().
|
static |
Turn a type-specifier-type into a string like "_Bool" or "union".
Definition at line 520 of file DeclSpec.cpp.
References clang::PrintingPolicy::Bool, clang::PrintingPolicy::MSWChar, TST_accum, TST_atomic, TST_auto, TST_auto_type, TST_bool, TST_char, TST_char16, TST_char32, TST_char8, TST_class, TST_decimal128, TST_decimal32, TST_decimal64, TST_decltype, TST_decltype_auto, TST_double, TST_enum, TST_error, TST_float, TST_float128, TST_float16, TST_fract, TST_half, TST_int, TST_int128, TST_interface, TST_struct, TST_typename, TST_typeofExpr, TST_typeofType, TST_underlyingType, TST_union, TST_unknown_anytype, TST_unspecified, TST_void, and TST_wchar.
Referenced by BadSpecifier(), IsCommonTypo(), SetTypeAltiVecBool(), SetTypeAltiVecPixel(), SetTypeAltiVecVector(), SetTypePipe(), and SetTypeSpecType().
|
static |
Definition at line 577 of file DeclSpec.cpp.
References TQ_atomic, TQ_const, TQ_restrict, TQ_unaligned, TQ_unspecified, and TQ_volatile.
|
static |
Definition at line 511 of file DeclSpec.cpp.
|
static |
Definition at line 501 of file DeclSpec.cpp.
|
static |
Definition at line 491 of file DeclSpec.cpp.
References clang::TSW_long, clang::TSW_longlong, clang::TSW_short, and clang::TSW_unspecified.
|
static |
Definition at line 467 of file DeclSpec.cpp.
|
static |
Definition at line 481 of file DeclSpec.cpp.
|
static |
Definition at line 567 of file DeclSpec.cpp.
References clang::CSK_consteval, clang::CSK_constexpr, clang::CSK_constinit, and clang::CSK_unspecified.
|
inline |
Definition at line 447 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXConditionDeclaration(), clang::Sema::ActOnFriendFunctionDecl(), clang::Sema::ActOnFriendTypeDecl(), getCCForDeclaratorChunk(), GetDeclSpecTypeForDeclarator(), getFunctionStorageClass(), getMissingDeclaratorIdLoc(), isValidAfterIdentifierInDeclarator(), clang::Parser::ParseTopLevelDecl(), SetupFixedPointError(), StorageClassSpecToVarDeclStorageClass(), and warnAboutAmbiguousFunction().
|
inline |
Definition at line 456 of file DeclSpec.h.
Referenced by clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckConversionDeclarator(), clang::Sema::CheckDestructorDeclarator(), clang::Sema::CheckMain(), getFunctionStorageClass(), and clang::Parser::ParseTopLevelDecl().
|
inline |
Definition at line 448 of file DeclSpec.h.
Referenced by clang::Parser::ParseTopLevelDecl().
|
inline |
Definition at line 457 of file DeclSpec.h.
Referenced by clang::Parser::ParseTopLevelDecl().
|
inline |
Definition at line 526 of file DeclSpec.h.
|
inline |
getTypeQualifiers - Return a set of TQs.
Definition at line 550 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFriendTypeDecl(), AddTypeQualifierResults(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckDestructorDeclarator(), diagnoseRedundantReturnTypeQualifiers(), clang::DeclaratorChunk::getFunction(), getMissingDeclaratorIdLoc(), clang::DeclaratorChunk::FunctionTypeInfo::hasMethodTypeQualifiers(), isPipeDeclerator(), and warnAboutRedundantParens().
|
inline |
Definition at line 477 of file DeclSpec.h.
|
inline |
Definition at line 515 of file DeclSpec.h.
|
inline |
Definition at line 519 of file DeclSpec.h.
|
inline |
Definition at line 506 of file DeclSpec.h.
Referenced by InventTemplateParameter().
|
inline |
Definition at line 507 of file DeclSpec.h.
|
inline |
Definition at line 478 of file DeclSpec.h.
|
inline |
Definition at line 516 of file DeclSpec.h.
|
inline |
Definition at line 479 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXNestedNameSpecifierDecltype(), addConstevalToLambdaDeclSpecifier(), clang::Sema::BuildMemInitializer(), clang::Sema::containsUnexpandedParameterPacks(), diagnoseDynamicExceptionSpecification(), clang::Sema::getDestructorTypeForDecltype(), getMissingDeclaratorIdLoc(), clang::Declarator::isInvalidType(), and clang::Parser::ParseTopLevelDecl().
|
inline |
Definition at line 517 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXNestedNameSpecifierDecltype(), clang::Sema::ActOnPseudoDestructorExpr(), clang::Sema::BuildMemInitializer(), clang::Sema::CheckDestructorDeclarator(), clang::Sema::checkOpenCLDisabledTypeDeclSpec(), GetDeclSpecTypeForDeclarator(), clang::Sema::getDestructorTypeForDecltype(), getMissingDeclaratorIdLoc(), InventTemplateParameter(), and clang::Parser::ParseTopLevelDecl().
|
inline |
Definition at line 521 of file DeclSpec.h.
|
inline |
Definition at line 476 of file DeclSpec.h.
|
inline |
Definition at line 513 of file DeclSpec.h.
References clang::SourceRange::getBegin().
|
inline |
Definition at line 514 of file DeclSpec.h.
|
inline |
Definition at line 555 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFriendTypeDecl(), diagnoseRedundantReturnTypeQualifiers(), and isPipeDeclerator().
|
inline |
Definition at line 582 of file DeclSpec.h.
Referenced by clang::Sema::CheckConstructorDeclarator(), and clang::Sema::DiagnoseFunctionSpecifiers().
|
inline |
Definition at line 553 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFriendTypeDecl(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckDestructorDeclarator(), diagnoseRedundantReturnTypeQualifiers(), clang::DeclaratorChunk::FunctionTypeInfo::getVolatileQualifierLoc(), and isPipeDeclerator().
|
inline |
Definition at line 799 of file DeclSpec.h.
|
inline |
Definition at line 785 of file DeclSpec.h.
References clang::ParsedAttributesView::empty().
|
inline |
Definition at line 529 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXNew(), and clang::Sema::canDelayFunctionBody().
|
inline |
Definition at line 751 of file DeclSpec.h.
References clang::CSK_unspecified.
Referenced by clang::Sema::canDelayFunctionBody(), and getMissingDeclaratorIdLoc().
|
inline |
Definition at line 584 of file DeclSpec.h.
References clang::ExplicitSpecifier::isSpecified().
Referenced by clang::Sema::DiagnoseFunctionSpecifiers().
bool DeclSpec::hasTagDefinition | ( | ) | const |
Definition at line 427 of file DeclSpec.cpp.
Referenced by clang::Parser::ParseTopLevelDecl().
|
inline |
Return true if any type-specifier has been found.
Definition at line 624 of file DeclSpec.h.
References TSC_unspecified, TSS_unspecified, TST_unspecified, and TSW_unspecified.
Referenced by clang::Sema::CheckDestructorDeclarator(), getMissingDeclaratorIdLoc(), isOmittedBlockReturnType(), isValidAfterIdentifierInDeclarator(), and SetupFixedPointError().
|
inline |
Definition at line 487 of file DeclSpec.h.
Definition at line 425 of file DeclSpec.h.
Referenced by clang::Parser::ParseTopLevelDecl().
|
inline |
isEmpty - Return true if this declaration specifier is completely empty: no tokens were parsed in the production of it.
Definition at line 637 of file DeclSpec.h.
References PQ_None.
Referenced by getMissingDeclaratorIdLoc(), and clang::Parser::ParseTopLevelDecl().
|
inline |
Definition at line 451 of file DeclSpec.h.
Referenced by getFunctionStorageClass(), and StorageClassSpecToVarDeclStorageClass().
|
inline |
Definition at line 740 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFriendFunctionDecl(), clang::Sema::ActOnFriendTypeDecl(), GetDeclSpecTypeForDeclarator(), getMissingDeclaratorIdLoc(), and SetupFixedPointError().
|
inline |
Definition at line 570 of file DeclSpec.h.
bool DeclSpec::isMissingDeclaratorOk | ( | ) |
Checks if this DeclSpec can stand alone, without a Declarator.
Only tag declspecs can stand alone.
Definition at line 1371 of file DeclSpec.cpp.
References SCS_typedef.
|
inline |
Definition at line 743 of file DeclSpec.h.
References clang::SourceLocation::isValid().
|
inline |
Definition at line 594 of file DeclSpec.h.
Referenced by clang::Sema::CheckMain(), and clang::Sema::DiagnoseFunctionSpecifiers().
|
inline |
Definition at line 482 of file DeclSpec.h.
|
inline |
Definition at line 481 of file DeclSpec.h.
|
inline |
Definition at line 480 of file DeclSpec.h.
Referenced by SetupFixedPointError().
|
inline |
|
inline |
Definition at line 483 of file DeclSpec.h.
Referenced by GetDeclSpecTypeForDeclarator().
|
inline |
Definition at line 485 of file DeclSpec.h.
Referenced by isPipeDeclerator(), and isValidAfterIdentifierInDeclarator().
|
inline |
Definition at line 486 of file DeclSpec.h.
|
inline |
Definition at line 581 of file DeclSpec.h.
Referenced by clang::Sema::CheckConstructorDeclarator(), and clang::Sema::DiagnoseFunctionSpecifiers().
bool DeclSpec::SetConstexprSpec | ( | ConstexprSpecKind | ConstexprKind, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 1046 of file DeclSpec.cpp.
References BadSpecifier(), and clang::CSK_unspecified.
Referenced by addConstevalToLambdaDeclSpecifier(), and addConstexprToLambdaDeclSpecifier().
|
inline |
Definition at line 452 of file DeclSpec.h.
bool DeclSpec::SetFriendSpec | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 1016 of file DeclSpec.cpp.
bool DeclSpec::setFunctionSpecExplicit | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
ExplicitSpecifier | ExplicitSpec, | ||
SourceLocation | CloseParenLoc | ||
) |
Definition at line 979 of file DeclSpec.cpp.
References clang::ExplicitSpecifier::getExpr(), clang::ExplicitSpecifier::getKind(), and clang::ResolvedTrue.
bool DeclSpec::setFunctionSpecForceInline | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 952 of file DeclSpec.cpp.
bool DeclSpec::setFunctionSpecInline | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 938 of file DeclSpec.cpp.
bool DeclSpec::setFunctionSpecNoreturn | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 1001 of file DeclSpec.cpp.
bool DeclSpec::setFunctionSpecVirtual | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 964 of file DeclSpec.cpp.
bool DeclSpec::setModulePrivateSpec | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 1034 of file DeclSpec.cpp.
|
inline |
Definition at line 804 of file DeclSpec.h.
Referenced by takeDeclAttributes().
|
inline |
Definition at line 642 of file DeclSpec.h.
References clang::SourceRange::setEnd().
Referenced by getMissingDeclaratorIdLoc(), isValidAfterIdentifierInDeclarator(), and SetupFixedPointError().
|
inline |
Definition at line 641 of file DeclSpec.h.
References clang::SourceRange::setBegin().
Referenced by SetupFixedPointError().
bool DeclSpec::SetStorageClassSpec | ( | Sema & | S, |
SCS | SC, | ||
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
const PrintingPolicy & | Policy | ||
) |
These methods set the specified attribute of the DeclSpec and return false if there was no error.
If an error occurs (for example, if we tried to set "auto" on a spec with "extern" already set), they return true and set PrevSpec and DiagID such that Diag(Loc, DiagID) << PrevSpec; will yield a useful result.
TODO: use a more general approach that still allows these diagnostics to be ignored when desired.
Definition at line 589 of file DeclSpec.cpp.
bool DeclSpec::SetStorageClassSpecThread | ( | TSCS | TSC, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 651 of file DeclSpec.cpp.
References BadSpecifier(), and clang::TSCS_unspecified.
bool DeclSpec::SetTypeAltiVecBool | ( | bool | isAltiVecBool, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 882 of file DeclSpec.cpp.
References getSpecifierName(), clang::TST_error, and clang::TST_unspecified.
bool DeclSpec::SetTypeAltiVecPixel | ( | bool | isAltiVecPixel, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 865 of file DeclSpec.cpp.
References getSpecifierName(), clang::TST_error, and clang::TST_unspecified.
bool DeclSpec::SetTypeAltiVecVector | ( | bool | isAltiVecVector, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 833 of file DeclSpec.cpp.
References getSpecifierName(), clang::TST_error, and clang::TST_unspecified.
|
inline |
Definition at line 527 of file DeclSpec.h.
References clang::transformer::range().
Referenced by getMissingDeclaratorIdLoc().
bool DeclSpec::SetTypePipe | ( | bool | isPipe, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 848 of file DeclSpec.cpp.
References getSpecifierName(), clang::TSP_pipe, clang::TST_error, and clang::TST_unspecified.
bool DeclSpec::SetTypeQual | ( | TQ | T, |
SourceLocation | Loc | ||
) |
Definition at line 923 of file DeclSpec.cpp.
Referenced by clang::DeclaratorChunk::getFunction().
bool DeclSpec::SetTypeQual | ( | TQ | T, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
const LangOptions & | Lang | ||
) |
Definition at line 907 of file DeclSpec.cpp.
References BadSpecifier().
bool DeclSpec::SetTypeSpecComplex | ( | TSC | C, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 682 of file DeclSpec.cpp.
References BadSpecifier(), and clang::C.
bool DeclSpec::SetTypeSpecError | ( | ) |
Definition at line 899 of file DeclSpec.cpp.
References clang::TST_error.
Referenced by getMissingDeclaratorIdLoc(), isValidAfterIdentifierInDeclarator(), and SetupFixedPointError().
bool DeclSpec::SetTypeSpecSat | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 820 of file DeclSpec.cpp.
bool DeclSpec::SetTypeSpecSign | ( | TSS | S, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 692 of file DeclSpec.cpp.
bool DeclSpec::SetTypeSpecType | ( | TST | T, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 796 of file DeclSpec.cpp.
References getSpecifierName(), clang::TST_bool, clang::TST_error, and clang::TST_unspecified.
Referenced by getMissingDeclaratorIdLoc(), isValidAfterIdentifierInDeclarator(), clang::Parser::ParseTopLevelDecl(), and takeDeclAttributes().
bool DeclSpec::SetTypeSpecType | ( | TST | T, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
ParsedType | Rep, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 702 of file DeclSpec.cpp.
bool DeclSpec::SetTypeSpecType | ( | TST | T, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
Decl * | Rep, | ||
bool | Owned, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 755 of file DeclSpec.cpp.
bool DeclSpec::SetTypeSpecType | ( | TST | T, |
SourceLocation | TagKwLoc, | ||
SourceLocation | TagNameLoc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
ParsedType | Rep, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 710 of file DeclSpec.cpp.
References getSpecifierName(), clang::TST_error, and clang::TST_unspecified.
bool DeclSpec::SetTypeSpecType | ( | TST | T, |
SourceLocation | TagKwLoc, | ||
SourceLocation | TagNameLoc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
Decl * | Rep, | ||
bool | Owned, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 763 of file DeclSpec.cpp.
References getSpecifierName(), clang::TST_error, and clang::TST_unspecified.
bool DeclSpec::SetTypeSpecType | ( | TST | T, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
TemplateIdAnnotation * | Rep, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 787 of file DeclSpec.cpp.
References clang::TST_auto, and clang::TST_decltype_auto.
bool DeclSpec::SetTypeSpecType | ( | TST | T, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
Expr * | Rep, | ||
const PrintingPolicy & | policy | ||
) |
Definition at line 733 of file DeclSpec.cpp.
References getSpecifierName(), clang::TST_error, and clang::TST_unspecified.
bool DeclSpec::SetTypeSpecWidth | ( | TSW | W, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
const PrintingPolicy & | Policy | ||
) |
These methods set the specified attribute of the DeclSpec, but return true and ignore the request if invalid (e.g.
"extern" then "auto" is specified).
Definition at line 665 of file DeclSpec.cpp.
References BadSpecifier(), clang::TSW_long, clang::TSW_longlong, and clang::TSW_unspecified.
|
inline |
Definition at line 790 of file DeclSpec.h.
References clang::ParsedAttributes::takeAllFrom().
Referenced by getMissingDeclaratorIdLoc(), clang::Parser::ParseTopLevelDecl(), and SetupFixedPointError().
|
inline |
Definition at line 703 of file DeclSpec.h.
|
inline |
Definition at line 711 of file DeclSpec.h.
|
inline |
Definition at line 707 of file DeclSpec.h.
Decl* clang::DeclSpec::DeclRep |
Definition at line 371 of file DeclSpec.h.
Expr* clang::DeclSpec::ExprRep |
Definition at line 372 of file DeclSpec.h.
TemplateIdAnnotation* clang::DeclSpec::TemplateIdRep |
Definition at line 373 of file DeclSpec.h.
|
static |
Definition at line 247 of file DeclSpec.h.
|
static |
Definition at line 249 of file DeclSpec.h.
|
static |
Definition at line 248 of file DeclSpec.h.
|
static |
Definition at line 246 of file DeclSpec.h.
Referenced by ClearStorageClassSpecs(), and clang::Parser::ParseTopLevelDecl().
|
static |
Definition at line 267 of file DeclSpec.h.
|
static |
Definition at line 268 of file DeclSpec.h.
|
static |
Definition at line 266 of file DeclSpec.h.
Referenced by hasTypeSpecifier().
|
static |
Definition at line 285 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 306 of file DeclSpec.h.
Referenced by getMissingDeclaratorIdLoc(), and getSpecifierName().
|
static |
Definition at line 303 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 304 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 288 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 274 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 277 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 278 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 276 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 296 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), GetDiagnosticTypeSpecifierID(), getSpecifierName(), isValidAfterIdentifierInDeclarator(), and clang::Parser::ParseTopLevelDecl().
|
static |
Definition at line 291 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 289 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 290 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 300 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXNestedNameSpecifierDecltype(), clang::Sema::getDestructorTypeForDecltype(), and getSpecifierName().
|
static |
Definition at line 301 of file DeclSpec.h.
Referenced by clang::Sema::getDestructorTypeForDecltype(), and getSpecifierName().
|
static |
Definition at line 283 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 292 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), GetDiagnosticTypeSpecifierID(), getSpecifierName(), isValidAfterIdentifierInDeclarator(), and clang::Parser::ParseTopLevelDecl().
|
static |
Definition at line 310 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXNestedNameSpecifierDecltype(), clang::Sema::getDestructorTypeForDecltype(), getSpecifierName(), and clang::Declarator::isInvalidType().
|
static |
Definition at line 282 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 287 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 284 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 286 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 281 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 279 of file DeclSpec.h.
Referenced by getSpecifierName(), and clang::Parser::ParseTopLevelDecl().
|
static |
Definition at line 280 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 295 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), GetDiagnosticTypeSpecifierID(), getSpecifierName(), isValidAfterIdentifierInDeclarator(), and clang::Parser::ParseTopLevelDecl().
|
static |
Definition at line 294 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), GetDiagnosticTypeSpecifierID(), getSpecifierName(), isValidAfterIdentifierInDeclarator(), and clang::Parser::ParseTopLevelDecl().
|
static |
Definition at line 297 of file DeclSpec.h.
Referenced by getSpecifierName(), and isValidAfterIdentifierInDeclarator().
|
static |
Definition at line 299 of file DeclSpec.h.
Referenced by getMissingDeclaratorIdLoc(), and getSpecifierName().
|
static |
Definition at line 298 of file DeclSpec.h.
Referenced by getMissingDeclaratorIdLoc(), and getSpecifierName().
|
static |
Definition at line 302 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 293 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), GetDiagnosticTypeSpecifierID(), getSpecifierName(), isValidAfterIdentifierInDeclarator(), and clang::Parser::ParseTopLevelDecl().
|
static |
Definition at line 305 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 272 of file DeclSpec.h.
Referenced by ClearTypeSpecType(), getSpecifierName(), hasTypeSpecifier(), and clang::Parser::ParseTopLevelDecl().
|
static |
Definition at line 273 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 275 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 255 of file DeclSpec.h.
|
static |
Definition at line 256 of file DeclSpec.h.
|
static |
Definition at line 254 of file DeclSpec.h.
|
static |
Definition at line 253 of file DeclSpec.h.
Referenced by hasTypeSpecifier().
UnionParsedType clang::DeclSpec::TypeRep |
Definition at line 370 of file DeclSpec.h.