clang API Documentation
Captures information about "declaration specifiers". More...
#include <DeclSpec.h>
Captures information about "declaration specifiers".
"Declaration specifiers" encompasses storage-class-specifiers, type-specifiers, type-qualifiers, and function-specifiers.
Definition at line 232 of file DeclSpec.h.
typedef Decl* const* clang::DeclSpec::ProtocolQualifierListTy |
Definition at line 739 of file DeclSpec.h.
Definition at line 249 of file DeclSpec.h.
Definition at line 269 of file DeclSpec.h.
Definition at line 275 of file DeclSpec.h.
Definition at line 256 of file DeclSpec.h.
ParsedSpecifiers - Flags to query which specifiers were applied. This is returned by getParsedSpecifiers.
Definition at line 320 of file DeclSpec.h.
enum clang::DeclSpec::SCS |
storage-class-specifier
SCS_unspecified | |
SCS_typedef | |
SCS_extern | |
SCS_static | |
SCS_auto | |
SCS_register | |
SCS_private_extern | |
SCS_mutable |
Definition at line 236 of file DeclSpec.h.
enum clang::DeclSpec::TQ |
Definition at line 308 of file DeclSpec.h.
enum clang::DeclSpec::TSC |
Definition at line 262 of file DeclSpec.h.
clang::DeclSpec::DeclSpec | ( | AttributeFactory & | attrFactory | ) | [inline] |
Definition at line 419 of file DeclSpec.h.
clang::DeclSpec::~DeclSpec | ( | ) | [inline] |
Definition at line 446 of file DeclSpec.h.
void clang::DeclSpec::addAttributes | ( | AttributeList * | AL | ) | [inline] |
Concatenates two attribute lists.
The GCC attribute syntax allows for the following:
short __attribute__(( unused, deprecated )) int __attribute__(( may_alias, aligned(16) )) var;
This declares 4 attributes using 2 lists. The following syntax is also allowed and equivalent to the previous declaration.
short __attribute__((unused)) __attribute__((deprecated)) int __attribute__((may_alias)) __attribute__((aligned(16))) var;
Definition at line 726 of file DeclSpec.h.
References clang::ParsedAttributes::addAll().
Referenced by clang::Parser::ParseTypeName().
void clang::DeclSpec::ClearConstexprSpec | ( | ) | [inline] |
Definition at line 700 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
void clang::DeclSpec::ClearFunctionSpecs | ( | ) | [inline] |
Definition at line 572 of file DeclSpec.h.
void clang::DeclSpec::ClearStorageClassSpecs | ( | ) | [inline] |
Definition at line 465 of file DeclSpec.h.
References SCS_unspecified, and TSCS_unspecified.
Referenced by clang::Sema::ActOnCXXMemberDeclarator(), clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnObjCExceptionDecl(), clang::Sema::ActOnParamDeclarator(), and Finish().
void clang::DeclSpec::ClearTypeQualifiers | ( | ) | [inline] |
Clear out all of the type qualifiers.
Definition at line 547 of file DeclSpec.h.
Referenced by clang::Sema::BuildAnonymousStructOrUnion().
void clang::DeclSpec::ClearTypeSpecType | ( | ) | [inline] |
Definition at line 473 of file DeclSpec.h.
References TST_unspecified.
bool clang::DeclSpec::containsPlaceholderType | ( | ) | const [inline] |
Definition at line 521 of file DeclSpec.h.
References TST_auto, and TST_decltype_auto.
Referenced by clang::Sema::ActOnCXXNew(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::canDelayFunctionBody(), clang::Sema::FinalizeDeclaratorGroup(), GetDeclSpecTypeForDeclarator(), and GetFullTypeForDeclarator().
void DeclSpec::Finish | ( | DiagnosticsEngine & | D, |
Preprocessor & | PP, | ||
const PrintingPolicy & | Policy | ||
) |
Finish - This does final analysis of the declspec, issuing diagnostics for things like "_Imaginary" (lacking an FP type). After calling this method, DeclSpec is guaranteed self-consistent, even if an error occurred.
Finish - This does final analysis of the declspec, rejecting things like "_Imaginary" (lacking an FP type). 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 929 of file DeclSpec.cpp.
References ClearStorageClassSpecs(), clang::FixItHint::CreateInsertion(), clang::FixItHint::CreateRemoval(), Diag(), getExplicitSpecLoc(), clang::Preprocessor::getLangOpts(), clang::Preprocessor::getLocForEndOfToken(), clang::Preprocessor::getSourceManager(), getSpecifierName(), getStorageClassSpec(), getStorageClassSpecLoc(), clang::Preprocessor::getTargetInfo(), getThreadStorageClassSpec(), getThreadStorageClassSpecLoc(), getTypeSpecComplexLoc(), getVirtualSpecLoc(), clang::TargetInfo::hasFeature(), clang::SourceManager::isBeforeInTranslationUnit(), isDeclRep(), isExplicitSpecified(), isFriendSpecified(), clang::SourceLocation::isInvalid(), isInvalid(), isVirtualSpecified(), SCS_auto, SCS_extern, SCS_private_extern, SCS_static, SCS_unspecified, TSC_unspecified, TSCS_unspecified, TSS_unsigned, TSS_unspecified, TST_auto, TST_char, TST_char16, TST_char32, TST_decltype_auto, TST_double, TST_float, TST_int, TST_int128, TST_unspecified, TST_wchar, TSW_long, TSW_longlong, TSW_short, and TSW_unspecified.
SourceLocation clang::DeclSpec::getAltiVecLoc | ( | ) | const [inline] |
Definition at line 511 of file DeclSpec.h.
SourceLocation clang::DeclSpec::getAtomicSpecLoc | ( | ) | const [inline] |
Definition at line 544 of file DeclSpec.h.
Referenced by clang::Sema::BuildAnonymousStructOrUnion(), clang::Sema::BuildQualifiedType(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckDestructorDeclarator(), diagnoseRedundantReturnTypeQualifiers(), and clang::Sema::ParsedFreeStandingDeclSpec().
AttributePool& clang::DeclSpec::getAttributePool | ( | ) | const [inline] |
Definition at line 705 of file DeclSpec.h.
References clang::ParsedAttributes::getPool().
Referenced by takeDeclAttributes().
ParsedAttributes& clang::DeclSpec::getAttributes | ( | ) | [inline] |
Definition at line 732 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator(), clang::Sema::ActOnExplicitInstantiation(), clang::Sema::checkUnusedDeclAttributes(), distributeObjCPointerTypeAttrFromDeclarator(), GetDeclSpecTypeForDeclarator(), GetFullTypeForDeclarator(), hasParsedAttr(), clang::Sema::ImplicitlyDefineFunction(), clang::Sema::ParsedFreeStandingDeclSpec(), clang::Sema::ProcessDeclAttributes(), and takeDeclAttributes().
const ParsedAttributes& clang::DeclSpec::getAttributes | ( | ) | const [inline] |
Definition at line 733 of file DeclSpec.h.
SourceLocation clang::DeclSpec::getConstexprSpecLoc | ( | ) | const [inline] |
Definition at line 698 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator(), clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnTypedefDeclarator(), clang::Sema::CheckMain(), and clang::Sema::ParsedFreeStandingDeclSpec().
SourceLocation clang::DeclSpec::getConstSpecLoc | ( | ) | const [inline] |
Definition at line 541 of file DeclSpec.h.
Referenced by clang::Sema::BuildAnonymousStructOrUnion(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckDestructorDeclarator(), diagnoseRedundantReturnTypeQualifiers(), and clang::Sema::ParsedFreeStandingDeclSpec().
SourceLocation clang::DeclSpec::getExplicitSpecLoc | ( | ) | const [inline] |
Definition at line 567 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckConversionDeclarator(), clang::Sema::DiagnoseFunctionSpecifiers(), and Finish().
SourceLocation clang::DeclSpec::getFriendSpecLoc | ( | ) | const [inline] |
Definition at line 692 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFriendFunctionDecl(), and clang::Sema::ActOnFriendTypeDecl().
SourceLocation clang::DeclSpec::getInlineSpecLoc | ( | ) | const [inline] |
Definition at line 559 of file DeclSpec.h.
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckMain(), and clang::Sema::DiagnoseFunctionSpecifiers().
SourceLocation clang::DeclSpec::getLocEnd | ( | ) | const [inline] |
Definition at line 505 of file DeclSpec.h.
References clang::SourceRange::getEnd().
Referenced by GetFullTypeForDeclarator().
SourceLocation clang::DeclSpec::getLocStart | ( | ) | const [inline] |
Definition at line 504 of file DeclSpec.h.
References clang::SourceRange::getBegin().
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFriendTypeDecl(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::BuildAnonymousStructOrUnion(), clang::Sema::BuildMicrosoftCAnonymousStruct(), ConvertDeclSpecToType(), clang::Sema::HandleDeclarator(), and clang::Sema::ParsedFreeStandingDeclSpec().
SourceLocation clang::DeclSpec::getModulePrivateSpecLoc | ( | ) | const [inline] |
Definition at line 695 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::ParsedFreeStandingDeclSpec(), and clang::Sema::ParseTypedefDecl().
SourceLocation clang::DeclSpec::getNoreturnSpecLoc | ( | ) | const [inline] |
Definition at line 570 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckMain(), and clang::Sema::DiagnoseFunctionSpecifiers().
unsigned clang::DeclSpec::getNumProtocolQualifiers | ( | ) | const [inline] |
Definition at line 744 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType().
ObjCDeclSpec* clang::DeclSpec::getObjCQualifiers | ( | ) | const [inline] |
Definition at line 762 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 361 of file DeclSpec.cpp.
References hasTypeSpecifier(), PQ_FunctionSpecifier, PQ_StorageClassSpecifier, PQ_TypeQualifier, PQ_TypeSpecifier, SCS_unspecified, TQ_unspecified, and TSCS_unspecified.
Referenced by clang::Sema::CodeCompleteDeclSpec(), and isEmpty().
SourceLocation clang::DeclSpec::getProtocolLAngleLoc | ( | ) | const [inline] |
Definition at line 747 of file DeclSpec.h.
SourceLocation* clang::DeclSpec::getProtocolLocs | ( | ) | const [inline] |
Definition at line 743 of file DeclSpec.h.
ProtocolQualifierListTy clang::DeclSpec::getProtocolQualifiers | ( | ) | const [inline] |
Definition at line 740 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType().
Decl* clang::DeclSpec::getRepAsDecl | ( | ) | const [inline] |
Definition at line 492 of file DeclSpec.h.
References DeclRep, and isDeclRep().
Referenced by ConvertDeclSpecToType(), clang::Sema::FinalizeDeclaratorGroup(), GetDeclSpecTypeForDeclarator(), GetFullTypeForDeclarator(), hasTagDefinition(), isMissingDeclaratorOk(), clang::Sema::ParsedFreeStandingDeclSpec(), clang::Sema::ParseTypedefDecl(), and clang::Parser::ParseTypeName().
Expr* clang::DeclSpec::getRepAsExpr | ( | ) | const [inline] |
Definition at line 496 of file DeclSpec.h.
References ExprRep.
Referenced by clang::Sema::ActOnCXXNestedNameSpecifierDecltype(), clang::Sema::ActOnPseudoDestructorExpr(), clang::Sema::BuildMemInitializer(), clang::Sema::containsUnexpandedParameterPacks(), ConvertDeclSpecToType(), clang::Sema::getDestructorType(), clang::Declarator::isDeclarationOfFunction(), and RebuildDeclaratorInCurrentInstantiation().
ParsedType clang::DeclSpec::getRepAsType | ( | ) | const [inline] |
Definition at line 488 of file DeclSpec.h.
References TypeRep.
Referenced by clang::Sema::CodeCompleteDeclSpec(), clang::Sema::containsUnexpandedParameterPacks(), ConvertDeclSpecToType(), clang::Declarator::isDeclarationOfFunction(), clang::Sema::ParsedFreeStandingDeclSpec(), and RebuildDeclaratorInCurrentInstantiation().
SourceLocation clang::DeclSpec::getRestrictSpecLoc | ( | ) | const [inline] |
Definition at line 542 of file DeclSpec.h.
Referenced by clang::Sema::BuildAnonymousStructOrUnion(), clang::Sema::BuildQualifiedType(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckDestructorDeclarator(), diagnoseRedundantReturnTypeQualifiers(), and clang::Sema::ParsedFreeStandingDeclSpec().
const SourceRange& clang::DeclSpec::getSourceRange | ( | ) | const [inline] |
Definition at line 503 of file DeclSpec.h.
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFriendTypeDecl(), clang::Declarator::clear(), ConvertDeclSpecToType(), clang::Declarator::ExtendWithDeclSpec(), GetFullTypeForDeclarator(), clang::Sema::HandleDeclarator(), and clang::Sema::ParsedFreeStandingDeclSpec().
const char * DeclSpec::getSpecifierName | ( | DeclSpec::TST | T, |
const PrintingPolicy & | Policy | ||
) | [static] |
Turn a type-specifier-type into a string like "_Bool" or "union".
Definition at line 445 of file DeclSpec.cpp.
References clang::PrintingPolicy::Bool, clang::PrintingPolicy::MSWChar, TST_atomic, TST_auto, TST_bool, TST_char, TST_char16, TST_char32, TST_class, TST_decimal128, TST_decimal32, TST_decimal64, TST_decltype, TST_decltype_auto, TST_double, TST_enum, TST_error, TST_float, 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 clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnObjCExceptionDecl(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnVariableDeclarator(), BadSpecifier(), ConvertDeclSpecToType(), Finish(), clang::Sema::HandleField(), clang::Sema::HandleMSProperty(), clang::Sema::ParsedFreeStandingDeclSpec(), SetStorageClassSpec(), SetTypeAltiVecBool(), SetTypeAltiVecPixel(), SetTypeAltiVecVector(), and SetTypeSpecType().
const char * DeclSpec::getSpecifierName | ( | DeclSpec::TQ | Q | ) | [static] |
Definition at line 482 of file DeclSpec.cpp.
References TQ_atomic, TQ_const, TQ_restrict, TQ_unspecified, and TQ_volatile.
const char * DeclSpec::getSpecifierName | ( | DeclSpec::TSS | S | ) | [static] |
Definition at line 436 of file DeclSpec.cpp.
References TSS_signed, TSS_unsigned, and TSS_unspecified.
const char * DeclSpec::getSpecifierName | ( | DeclSpec::TSC | C | ) | [static] |
Definition at line 426 of file DeclSpec.cpp.
References TSC_complex, TSC_imaginary, and TSC_unspecified.
const char * DeclSpec::getSpecifierName | ( | DeclSpec::TSW | W | ) | [static] |
Definition at line 416 of file DeclSpec.cpp.
References TSW_long, TSW_longlong, TSW_short, and TSW_unspecified.
const char * DeclSpec::getSpecifierName | ( | DeclSpec::SCS | S | ) | [static] |
Definition at line 392 of file DeclSpec.cpp.
References SCS_auto, SCS_extern, SCS_mutable, SCS_private_extern, SCS_register, SCS_static, SCS_typedef, and SCS_unspecified.
const char * DeclSpec::getSpecifierName | ( | DeclSpec::TSCS | S | ) | [static] |
Definition at line 406 of file DeclSpec.cpp.
References TSCS___thread, TSCS__Thread_local, TSCS_thread_local, and TSCS_unspecified.
SCS clang::DeclSpec::getStorageClassSpec | ( | ) | const [inline] |
Definition at line 451 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXConditionDeclaration(), clang::Sema::ActOnCXXMemberDeclarator(), clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFriendFunctionDecl(), clang::Sema::ActOnFriendTypeDecl(), clang::Sema::ActOnObjCExceptionDecl(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::BuildAnonymousStructOrUnion(), Finish(), getCCForDeclaratorChunk(), GetDeclSpecTypeForDeclarator(), GetFullTypeForDeclarator(), getFunctionStorageClass(), clang::Sema::HandleDeclarator(), clang::Sema::HandleField(), clang::Declarator::isStaticMember(), clang::Sema::ParsedFreeStandingDeclSpec(), StorageClassSpecToVarDeclStorageClass(), and warnAboutAmbiguousFunction().
SourceLocation clang::DeclSpec::getStorageClassSpecLoc | ( | ) | const [inline] |
Definition at line 460 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator(), clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnObjCExceptionDecl(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::BuildAnonymousStructOrUnion(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckConversionDeclarator(), clang::Sema::CheckDestructorDeclarator(), clang::Sema::CheckFieldDecl(), clang::Sema::CheckMain(), Finish(), getFunctionStorageClass(), and clang::Sema::ParsedFreeStandingDeclSpec().
TSCS clang::DeclSpec::getThreadStorageClassSpec | ( | ) | const [inline] |
Definition at line 452 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnObjCExceptionDecl(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnVariableDeclarator(), Finish(), clang::Sema::HandleField(), clang::Sema::HandleMSProperty(), and clang::Sema::ParsedFreeStandingDeclSpec().
SourceLocation clang::DeclSpec::getThreadStorageClassSpecLoc | ( | ) | const [inline] |
Definition at line 461 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnObjCExceptionDecl(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnVariableDeclarator(), Finish(), clang::Sema::HandleField(), clang::Sema::HandleMSProperty(), and clang::Sema::ParsedFreeStandingDeclSpec().
SourceRange clang::DeclSpec::getTypeofParensRange | ( | ) | const [inline] |
Definition at line 518 of file DeclSpec.h.
unsigned clang::DeclSpec::getTypeQualifiers | ( | ) | const [inline] |
getTypeQualifiers - Return a set of TQs.
Definition at line 540 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator(), clang::Sema::BuildAnonymousStructOrUnion(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckDestructorDeclarator(), clang::Sema::CodeCompleteTypeQualifiers(), diagnoseRedundantReturnTypeQualifiers(), and clang::Sema::ParsedFreeStandingDeclSpec().
TSC clang::DeclSpec::getTypeSpecComplex | ( | ) | const [inline] |
Definition at line 481 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteDeclSpec(), ConvertDeclSpecToType(), and hasTypeSpecifier().
SourceLocation clang::DeclSpec::getTypeSpecComplexLoc | ( | ) | const [inline] |
Definition at line 508 of file DeclSpec.h.
Referenced by Finish().
CXXScopeSpec& clang::DeclSpec::getTypeSpecScope | ( | ) | [inline] |
Definition at line 500 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and clang::Sema::ParsedFreeStandingDeclSpec().
const CXXScopeSpec& clang::DeclSpec::getTypeSpecScope | ( | ) | const [inline] |
Definition at line 501 of file DeclSpec.h.
TSS clang::DeclSpec::getTypeSpecSign | ( | ) | const [inline] |
Definition at line 482 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteDeclSpec(), ConvertDeclSpecToType(), and hasTypeSpecifier().
SourceLocation clang::DeclSpec::getTypeSpecSignLoc | ( | ) | const [inline] |
Definition at line 509 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType().
TST clang::DeclSpec::getTypeSpecType | ( | ) | const [inline] |
Definition at line 483 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXNestedNameSpecifierDecltype(), clang::Sema::BuildMemInitializer(), clang::Sema::CodeCompleteDeclSpec(), clang::Sema::containsUnexpandedParameterPacks(), ConvertDeclSpecToType(), clang::Sema::FinalizeDeclaratorGroup(), GetDeclSpecTypeForDeclarator(), clang::Sema::getDestructorType(), GetFullTypeForDeclarator(), hasTypeSpecifier(), clang::Declarator::isDeclarationOfFunction(), clang::Declarator::isInvalidType(), isMissingDeclaratorOk(), clang::Sema::ParsedFreeStandingDeclSpec(), clang::Sema::ParseTypedefDecl(), and RebuildDeclaratorInCurrentInstantiation().
SourceLocation clang::DeclSpec::getTypeSpecTypeLoc | ( | ) | const [inline] |
Definition at line 510 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXNestedNameSpecifierDecltype(), clang::Sema::ActOnPseudoDestructorExpr(), clang::Sema::BuildMemInitializer(), clang::Sema::CheckConversionDeclarator(), clang::Sema::CheckDestructorDeclarator(), ConvertDeclSpecToType(), CreateNewFunctionDecl(), GetDeclSpecTypeForDeclarator(), clang::Sema::getDestructorType(), GetFullTypeForDeclarator(), clang::Sema::ParseTypedefDecl(), and RebuildDeclaratorInCurrentInstantiation().
SourceLocation clang::DeclSpec::getTypeSpecTypeNameLoc | ( | ) | const [inline] |
Definition at line 513 of file DeclSpec.h.
References isDeclRep(), and TST_typename.
Referenced by ConvertDeclSpecToType().
TSW clang::DeclSpec::getTypeSpecWidth | ( | ) | const [inline] |
Definition at line 480 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and hasTypeSpecifier().
SourceLocation clang::DeclSpec::getTypeSpecWidthLoc | ( | ) | const [inline] |
Definition at line 507 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType().
SourceLocation clang::DeclSpec::getVirtualSpecLoc | ( | ) | const [inline] |
Definition at line 564 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::DiagnoseFunctionSpecifiers(), and Finish().
SourceLocation clang::DeclSpec::getVolatileSpecLoc | ( | ) | const [inline] |
Definition at line 543 of file DeclSpec.h.
Referenced by clang::Sema::BuildAnonymousStructOrUnion(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckDestructorDeclarator(), and diagnoseRedundantReturnTypeQualifiers().
const WrittenBuiltinSpecs& clang::DeclSpec::getWrittenBuiltinSpecs | ( | ) | const [inline] |
Definition at line 758 of file DeclSpec.h.
bool clang::DeclSpec::hasAttributes | ( | ) | const [inline] |
Definition at line 730 of file DeclSpec.h.
References clang::ParsedAttributes::empty().
bool DeclSpec::hasTagDefinition | ( | ) | const |
Definition at line 352 of file DeclSpec.cpp.
References getRepAsDecl().
Referenced by GetFullTypeForDeclarator().
bool clang::DeclSpec::hasTypeSpecifier | ( | ) | const [inline] |
Return true if any type-specifier has been found.
Definition at line 586 of file DeclSpec.h.
References getTypeSpecComplex(), getTypeSpecSign(), getTypeSpecType(), getTypeSpecWidth(), TSC_unspecified, TSS_unspecified, TST_unspecified, and TSW_unspecified.
Referenced by clang::Sema::CheckConversionDeclarator(), clang::Sema::CheckDestructorDeclarator(), ConvertDeclSpecToType(), getParsedSpecifiers(), and isOmittedBlockReturnType().
bool clang::DeclSpec::isConstexprSpecified | ( | ) | const [inline] |
Definition at line 697 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator(), clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnTypedefDeclarator(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::canDelayFunctionBody(), CreateNewFunctionDecl(), GetFullTypeForDeclarator(), and clang::Sema::ParsedFreeStandingDeclSpec().
static bool clang::DeclSpec::isDeclRep | ( | TST | T | ) | [inline, static] |
Definition at line 413 of file DeclSpec.h.
References TST_class, TST_enum, TST_interface, TST_struct, and TST_union.
Referenced by clang::Sema::FinalizeDeclaratorGroup(), Finish(), getRepAsDecl(), getTypeSpecTypeNameLoc(), isMissingDeclaratorOk(), SetTypeSpecType(), and UpdateDeclRep().
bool clang::DeclSpec::isEmpty | ( | ) | const [inline] |
isEmpty - Return true if this declaration specifier is completely empty: no tokens were parsed in the production of it.
Definition at line 599 of file DeclSpec.h.
References getParsedSpecifiers(), and PQ_None.
Referenced by ConvertDeclSpecToType().
bool clang::DeclSpec::isExplicitSpecified | ( | ) | const [inline] |
Definition at line 566 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckConversionDeclarator(), CreateNewFunctionDecl(), clang::Sema::DiagnoseFunctionSpecifiers(), and Finish().
bool clang::DeclSpec::isExternInLinkageSpec | ( | ) | const [inline] |
Definition at line 455 of file DeclSpec.h.
Referenced by getFunctionStorageClass(), clang::Sema::ParsedFreeStandingDeclSpec(), and StorageClassSpecToVarDeclStorageClass().
bool clang::DeclSpec::isFriendSpecified | ( | ) | const [inline] |
Definition at line 691 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator(), clang::Sema::ActOnFriendFunctionDecl(), clang::Sema::ActOnFriendTypeDecl(), clang::Sema::ActOnFunctionDeclarator(), Finish(), GetFullTypeForDeclarator(), clang::Sema::HandleDeclarator(), clang::Declarator::isFirstDeclarationOfMember(), and clang::Sema::ParsedFreeStandingDeclSpec().
bool clang::DeclSpec::isInlineSpecified | ( | ) | const [inline] |
Definition at line 556 of file DeclSpec.h.
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFunctionDeclarator(), CreateNewFunctionDecl(), and clang::Sema::DiagnoseFunctionSpecifiers().
Checks if this DeclSpec can stand alone, without a Declarator.
Only tag declspecs can stand alone.
Definition at line 1193 of file DeclSpec.cpp.
References getRepAsDecl(), getTypeSpecType(), isDeclRep(), and SCS_typedef.
Referenced by clang::Sema::ParsedFreeStandingDeclSpec().
bool clang::DeclSpec::isModulePrivateSpecified | ( | ) | const [inline] |
Definition at line 694 of file DeclSpec.h.
References clang::SourceLocation::isValid().
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnIvar(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::HandleField(), clang::Sema::HandleMSProperty(), clang::Sema::ParsedFreeStandingDeclSpec(), clang::Sema::ParseTypedefDecl(), and setModulePrivateSpec().
bool clang::DeclSpec::isNoreturnSpecified | ( | ) | const [inline] |
Definition at line 569 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckMain(), and clang::Sema::DiagnoseFunctionSpecifiers().
bool clang::DeclSpec::isTypeAltiVecBool | ( | ) | const [inline] |
Definition at line 486 of file DeclSpec.h.
bool clang::DeclSpec::isTypeAltiVecPixel | ( | ) | const [inline] |
Definition at line 485 of file DeclSpec.h.
bool clang::DeclSpec::isTypeAltiVecVector | ( | ) | const [inline] |
Definition at line 484 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteDeclSpec().
bool clang::DeclSpec::isTypeSpecOwned | ( | ) | const [inline] |
Definition at line 487 of file DeclSpec.h.
Referenced by clang::Sema::FinalizeDeclaratorGroup(), GetDeclSpecTypeForDeclarator(), and clang::Parser::ParseTypeName().
bool clang::DeclSpec::isVirtualSpecified | ( | ) | const [inline] |
Definition at line 563 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::DiagnoseFunctionSpecifiers(), and Finish().
bool DeclSpec::SetConstexprSpec | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 881 of file DeclSpec.cpp.
void clang::DeclSpec::setExternInLinkageSpec | ( | bool | Value | ) | [inline] |
Definition at line 456 of file DeclSpec.h.
bool DeclSpec::SetFriendSpec | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 851 of file DeclSpec.cpp.
bool DeclSpec::setFunctionSpecExplicit | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 821 of file DeclSpec.cpp.
bool DeclSpec::setFunctionSpecForceInline | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 794 of file DeclSpec.cpp.
bool DeclSpec::setFunctionSpecInline | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 780 of file DeclSpec.cpp.
bool DeclSpec::setFunctionSpecNoreturn | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 836 of file DeclSpec.cpp.
bool DeclSpec::setFunctionSpecVirtual | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 806 of file DeclSpec.cpp.
bool DeclSpec::setModulePrivateSpec | ( | SourceLocation | Loc, |
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 869 of file DeclSpec.cpp.
References isModulePrivateSpecified().
void clang::DeclSpec::setObjCQualifiers | ( | ObjCDeclSpec * | quals | ) | [inline] |
Definition at line 763 of file DeclSpec.h.
void DeclSpec::setProtocolQualifiers | ( | Decl *const * | Protos, |
unsigned | NP, | ||
SourceLocation * | ProtoLocs, | ||
SourceLocation | LAngleLoc | ||
) |
Definition at line 895 of file DeclSpec.cpp.
void clang::DeclSpec::SetRangeEnd | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 604 of file DeclSpec.h.
References clang::SourceRange::setEnd().
Referenced by clang::Sema::ActOnFinishKNRParamDeclarations().
void clang::DeclSpec::SetRangeStart | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 603 of file DeclSpec.h.
References clang::SourceRange::setBegin().
Referenced by clang::Sema::ActOnFinishKNRParamDeclarations().
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 493 of file DeclSpec.cpp.
References BadSpecifier(), clang::Sema::getLangOpts(), clang::Sema::getOpenCLOptions(), getSpecifierName(), isInvalid(), SCS_auto, SCS_extern, SCS_private_extern, SCS_register, SCS_static, SCS_typedef, SCS_unspecified, SetTypeSpecType(), TST_auto, and TST_unspecified.
Referenced by clang::Sema::ActOnCXXMemberDeclarator(), and clang::Sema::BuildAnonymousStructOrUnion().
bool DeclSpec::SetStorageClassSpecThread | ( | TSCS | TSC, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 554 of file DeclSpec.cpp.
References BadSpecifier(), and TSCS_unspecified.
bool DeclSpec::SetTypeAltiVecBool | ( | bool | isAltiVecBool, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 732 of file DeclSpec.cpp.
References getSpecifierName(), and TST_unspecified.
bool DeclSpec::SetTypeAltiVecPixel | ( | bool | isAltiVecPixel, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 717 of file DeclSpec.cpp.
References getSpecifierName(), and TST_unspecified.
bool DeclSpec::SetTypeAltiVecVector | ( | bool | isAltiVecVector, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 704 of file DeclSpec.cpp.
References getSpecifierName(), and TST_unspecified.
void clang::DeclSpec::setTypeofParensRange | ( | SourceRange | range | ) | [inline] |
Definition at line 519 of file DeclSpec.h.
bool DeclSpec::SetTypeQual | ( | TQ | T, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
const LangOptions & | Lang | ||
) |
Definition at line 755 of file DeclSpec.cpp.
References BadSpecifier(), TQ_atomic, TQ_const, TQ_restrict, TQ_unspecified, and TQ_volatile.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
bool DeclSpec::SetTypeSpecComplex | ( | TSC | C, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 583 of file DeclSpec.cpp.
References BadSpecifier(), AttributeLangSupport::C, and TSC_unspecified.
Definition at line 747 of file DeclSpec.cpp.
References TST_error.
bool DeclSpec::SetTypeSpecSign | ( | TSS | S, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID | ||
) |
Definition at line 593 of file DeclSpec.cpp.
References BadSpecifier(), S, and TSS_unspecified.
bool DeclSpec::SetTypeSpecType | ( | TST | T, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 682 of file DeclSpec.cpp.
References getSpecifierName(), isDeclRep(), TST_bool, and TST_unspecified.
Referenced by clang::Sema::ActOnCXXForRangeIdentifier(), clang::Sema::ActOnFinishKNRParamDeclarations(), clang::Sema::ImplicitlyDefineFunction(), SetStorageClassSpec(), and SetTypeSpecType().
bool DeclSpec::SetTypeSpecType | ( | TST | T, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
ParsedType | Rep, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 603 of file DeclSpec.cpp.
References SetTypeSpecType().
bool DeclSpec::SetTypeSpecType | ( | TST | T, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
Decl * | Rep, | ||
bool | Owned, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 652 of file DeclSpec.cpp.
References SetTypeSpecType().
bool DeclSpec::SetTypeSpecType | ( | TST | T, |
SourceLocation | TagKwLoc, | ||
SourceLocation | TagNameLoc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
ParsedType | Rep, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 611 of file DeclSpec.cpp.
References getSpecifierName(), TST_unspecified, and TypeRep.
bool DeclSpec::SetTypeSpecType | ( | TST | T, |
SourceLocation | TagKwLoc, | ||
SourceLocation | TagNameLoc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
Decl * | Rep, | ||
bool | Owned, | ||
const PrintingPolicy & | Policy | ||
) |
Definition at line 660 of file DeclSpec.cpp.
References DeclRep, getSpecifierName(), isDeclRep(), and TST_unspecified.
bool DeclSpec::SetTypeSpecType | ( | TST | T, |
SourceLocation | Loc, | ||
const char *& | PrevSpec, | ||
unsigned & | DiagID, | ||
Expr * | Rep, | ||
const PrintingPolicy & | policy | ||
) |
Definition at line 632 of file DeclSpec.cpp.
References ExprRep, getSpecifierName(), and 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 568 of file DeclSpec.cpp.
References BadSpecifier(), TSW_long, TSW_longlong, and TSW_unspecified.
void clang::DeclSpec::takeAttributesFrom | ( | ParsedAttributes & | attrs | ) | [inline] |
Definition at line 735 of file DeclSpec.h.
References clang::ParsedAttributes::takeAllFrom().
void clang::DeclSpec::UpdateDeclRep | ( | Decl * | Rep | ) | [inline] |
Definition at line 657 of file DeclSpec.h.
References DeclRep, and isDeclRep().
void clang::DeclSpec::UpdateExprRep | ( | Expr * | Rep | ) | [inline] |
Definition at line 665 of file DeclSpec.h.
References ExprRep.
Referenced by RebuildDeclaratorInCurrentInstantiation().
void clang::DeclSpec::UpdateTypeRep | ( | ParsedType | Rep | ) | [inline] |
Definition at line 661 of file DeclSpec.h.
References TypeRep.
Referenced by RebuildDeclaratorInCurrentInstantiation().
Definition at line 362 of file DeclSpec.h.
Referenced by getRepAsDecl(), SetTypeSpecType(), and UpdateDeclRep().
Definition at line 363 of file DeclSpec.h.
Referenced by getRepAsExpr(), SetTypeSpecType(), and UpdateExprRep().
const TSCS clang::DeclSpec::TSCS___thread = clang::TSCS___thread [static] |
Definition at line 251 of file DeclSpec.h.
Referenced by getSpecifierName().
const TSCS clang::DeclSpec::TSCS__Thread_local = clang::TSCS__Thread_local [static] |
Definition at line 253 of file DeclSpec.h.
Referenced by getSpecifierName().
const TSCS clang::DeclSpec::TSCS_thread_local = clang::TSCS_thread_local [static] |
Definition at line 252 of file DeclSpec.h.
Referenced by clang::Sema::ActOnVariableDeclarator(), and getSpecifierName().
const TSCS clang::DeclSpec::TSCS_unspecified = clang::TSCS_unspecified [static] |
Definition at line 250 of file DeclSpec.h.
Referenced by ClearStorageClassSpecs(), Finish(), getParsedSpecifiers(), getSpecifierName(), and SetStorageClassSpecThread().
const TSS clang::DeclSpec::TSS_signed = clang::TSS_signed [static] |
Definition at line 271 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
const TSS clang::DeclSpec::TSS_unsigned = clang::TSS_unsigned [static] |
Definition at line 272 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TSS clang::DeclSpec::TSS_unspecified = clang::TSS_unspecified [static] |
Definition at line 270 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteDeclSpec(), ConvertDeclSpecToType(), Finish(), getSpecifierName(), hasTypeSpecifier(), and SetTypeSpecSign().
const TST clang::DeclSpec::TST_atomic = clang::TST_atomic [static] |
Definition at line 304 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), getSpecifierName(), and RebuildDeclaratorInCurrentInstantiation().
const TST clang::DeclSpec::TST_auto = clang::TST_auto [static] |
Definition at line 302 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXForRangeIdentifier(), containsPlaceholderType(), ConvertDeclSpecToType(), Finish(), GetDeclSpecTypeForDeclarator(), GetFullTypeForDeclarator(), getSpecifierName(), and SetStorageClassSpec().
const TST clang::DeclSpec::TST_bool = clang::TST_bool [static] |
Definition at line 287 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), getSpecifierName(), and SetTypeSpecType().
const TST clang::DeclSpec::TST_char = clang::TST_char [static] |
Definition at line 278 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TST clang::DeclSpec::TST_char16 = clang::TST_char16 [static] |
Definition at line 280 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TST clang::DeclSpec::TST_char32 = clang::TST_char32 [static] |
Definition at line 281 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TST clang::DeclSpec::TST_class = clang::TST_class [static] |
Definition at line 295 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), ConvertDeclSpecToType(), getSpecifierName(), isDeclRep(), and clang::Sema::ParsedFreeStandingDeclSpec().
const TST clang::DeclSpec::TST_decimal128 = clang::TST_decimal128 [static] |
Definition at line 290 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
const TST clang::DeclSpec::TST_decimal32 = clang::TST_decimal32 [static] |
Definition at line 288 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
const TST clang::DeclSpec::TST_decimal64 = clang::TST_decimal64 [static] |
Definition at line 289 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
const TST clang::DeclSpec::TST_decltype = clang::TST_decltype [static] |
Definition at line 299 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), clang::Sema::getDestructorType(), getSpecifierName(), and RebuildDeclaratorInCurrentInstantiation().
const TST clang::DeclSpec::TST_decltype_auto = clang::TST_decltype_auto [static] |
Definition at line 300 of file DeclSpec.h.
Referenced by containsPlaceholderType(), ConvertDeclSpecToType(), Finish(), GetDeclSpecTypeForDeclarator(), and getSpecifierName().
const TST clang::DeclSpec::TST_double = clang::TST_double [static] |
Definition at line 286 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TST clang::DeclSpec::TST_enum = clang::TST_enum [static] |
Definition at line 291 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), ConvertDeclSpecToType(), getSpecifierName(), isDeclRep(), and clang::Sema::ParsedFreeStandingDeclSpec().
const TST clang::DeclSpec::TST_error = clang::TST_error [static] |
Definition at line 305 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), clang::Sema::getDestructorType(), getSpecifierName(), clang::Sema::ParsedFreeStandingDeclSpec(), and SetTypeSpecError().
const TST clang::DeclSpec::TST_float = clang::TST_float [static] |
Definition at line 285 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TST clang::DeclSpec::TST_half = clang::TST_half [static] |
Definition at line 284 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
const TST clang::DeclSpec::TST_int = clang::TST_int [static] |
Definition at line 282 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFinishKNRParamDeclarations(), ConvertDeclSpecToType(), Finish(), getSpecifierName(), and clang::Sema::ImplicitlyDefineFunction().
const TST clang::DeclSpec::TST_int128 = clang::TST_int128 [static] |
Definition at line 283 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TST clang::DeclSpec::TST_interface = clang::TST_interface [static] |
Definition at line 294 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), ConvertDeclSpecToType(), getSpecifierName(), isDeclRep(), and clang::Sema::ParsedFreeStandingDeclSpec().
const TST clang::DeclSpec::TST_struct = clang::TST_struct [static] |
Definition at line 293 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), ConvertDeclSpecToType(), getSpecifierName(), isDeclRep(), and clang::Sema::ParsedFreeStandingDeclSpec().
const TST clang::DeclSpec::TST_typename = clang::TST_typename [static] |
Definition at line 296 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteDeclSpec(), ConvertDeclSpecToType(), getSpecifierName(), getTypeSpecTypeNameLoc(), and RebuildDeclaratorInCurrentInstantiation().
const TST clang::DeclSpec::TST_typeofExpr = clang::TST_typeofExpr [static] |
Definition at line 298 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), getSpecifierName(), and RebuildDeclaratorInCurrentInstantiation().
const TST clang::DeclSpec::TST_typeofType = clang::TST_typeofType [static] |
Definition at line 297 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), getSpecifierName(), and RebuildDeclaratorInCurrentInstantiation().
const TST clang::DeclSpec::TST_underlyingType = clang::TST_underlyingType [static] |
Definition at line 301 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), getSpecifierName(), and RebuildDeclaratorInCurrentInstantiation().
const TST clang::DeclSpec::TST_union = clang::TST_union [static] |
Definition at line 292 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), ConvertDeclSpecToType(), getSpecifierName(), isDeclRep(), and clang::Sema::ParsedFreeStandingDeclSpec().
const TST clang::DeclSpec::TST_unknown_anytype = clang::TST_unknown_anytype [static] |
Definition at line 303 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
const TST clang::DeclSpec::TST_unspecified = clang::TST_unspecified [static] |
Definition at line 276 of file DeclSpec.h.
Referenced by ClearTypeSpecType(), ConvertDeclSpecToType(), Finish(), getSpecifierName(), hasTypeSpecifier(), SetStorageClassSpec(), SetTypeAltiVecBool(), SetTypeAltiVecPixel(), SetTypeAltiVecVector(), and SetTypeSpecType().
const TST clang::DeclSpec::TST_void = clang::TST_void [static] |
Definition at line 277 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
const TST clang::DeclSpec::TST_wchar = clang::TST_wchar [static] |
Definition at line 279 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TSW clang::DeclSpec::TSW_long = clang::TSW_long [static] |
Definition at line 259 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), getSpecifierName(), and SetTypeSpecWidth().
const TSW clang::DeclSpec::TSW_longlong = clang::TSW_longlong [static] |
Definition at line 260 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), getSpecifierName(), and SetTypeSpecWidth().
const TSW clang::DeclSpec::TSW_short = clang::TSW_short [static] |
Definition at line 258 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TSW clang::DeclSpec::TSW_unspecified = clang::TSW_unspecified [static] |
Definition at line 257 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), getSpecifierName(), hasTypeSpecifier(), and SetTypeSpecWidth().
Definition at line 361 of file DeclSpec.h.
Referenced by getRepAsType(), SetTypeSpecType(), and UpdateTypeRep().