|
clang
3.8.0
|
Captures information about "declaration specifiers". More...
#include <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_atomic = 8 } |
| 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 |
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 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_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_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 317 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_atomic | |
Definition at line 305 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 413 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 735 of file DeclSpec.h.
References clang::ParsedAttributes::addAll().
Referenced by addContextSensitiveTypeNullability(), and clang::Parser::ParseTypeName().
|
inline |
Definition at line 709 of file DeclSpec.h.
|
inline |
Definition at line 704 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator().
|
inline |
Definition at line 568 of file DeclSpec.h.
|
inline |
Definition at line 455 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().
|
inline |
Clear out all of the type qualifiers.
Definition at line 542 of file DeclSpec.h.
Referenced by clang::Sema::BuildAnonymousStructOrUnion().
|
inline |
Definition at line 463 of file DeclSpec.h.
References TST_unspecified.
|
inline |
Definition at line 514 of file DeclSpec.h.
References TST_auto, TST_auto_type, and TST_decltype_auto.
Referenced by clang::Sema::ActOnCXXNew(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::canDelayFunctionBody(), clang::Sema::FinalizeDeclaratorGroup(), GetDeclSpecTypeForDeclarator(), and GetFullTypeForDeclarator().
| 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 943 of file DeclSpec.cpp.
References ClearStorageClassSpecs(), clang::Sema::Context, clang::FixItHint::CreateInsertion(), clang::FixItHint::CreateRemoval(), clang::Sema::Diag(), getExplicitSpecLoc(), clang::Sema::getLangOpts(), clang::Sema::getLocForEndOfToken(), clang::Sema::getSourceManager(), getSpecifierName(), getStorageClassSpec(), getStorageClassSpecLoc(), clang::ASTContext::getTargetInfo(), getThreadStorageClassSpec(), getThreadStorageClassSpecLoc(), getTypeSpecComplexLoc(), getVirtualSpecLoc(), clang::TargetInfo::hasFeature(), I, clang::SourceManager::isBeforeInTranslationUnit(), isDeclRep(), isExplicitSpecified(), isFriendSpecified(), clang::SourceLocation::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.
|
inline |
Definition at line 504 of file DeclSpec.h.
|
inline |
Definition at line 538 of file DeclSpec.h.
Referenced by clang::Sema::BuildAnonymousStructOrUnion(), clang::Sema::BuildQualifiedType(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckDestructorDeclarator(), diagnoseAndRemoveTypeQualifiers(), diagnoseRedundantReturnTypeQualifiers(), and clang::Sema::ParsedFreeStandingDeclSpec().
|
inline |
Definition at line 714 of file DeclSpec.h.
References clang::ParsedAttributes::getPool().
Referenced by takeDeclAttributes().
|
inline |
Definition at line 741 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator(), clang::Sema::ActOnExplicitInstantiation(), clang::Sema::checkUnusedDeclAttributes(), distributeObjCPointerTypeAttrFromDeclarator(), getCCForDeclaratorChunk(), GetDeclSpecTypeForDeclarator(), GetFullTypeForDeclarator(), hasParsedAttr(), clang::Sema::ImplicitlyDefineFunction(), clang::Sema::ParsedFreeStandingDeclSpec(), clang::Sema::ProcessDeclAttributes(), and takeDeclAttributes().
|
inline |
Definition at line 742 of file DeclSpec.h.
|
inline |
Definition at line 702 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnTypedefDeclarator(), clang::Sema::HandleDeclarator(), and clang::Sema::ParsedFreeStandingDeclSpec().
|
inline |
Definition at line 699 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::CheckMain(), and clang::Sema::ParsedFreeStandingDeclSpec().
|
inline |
Definition at line 535 of file DeclSpec.h.
Referenced by clang::Sema::BuildAnonymousStructOrUnion(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckDestructorDeclarator(), diagnoseAndRemoveTypeQualifiers(), diagnoseRedundantReturnTypeQualifiers(), and clang::Sema::ParsedFreeStandingDeclSpec().
|
inline |
Definition at line 563 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckConversionDeclarator(), clang::Sema::DiagnoseFunctionSpecifiers(), and Finish().
|
inline |
Definition at line 693 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFriendFunctionDecl(), clang::Sema::ActOnFriendTypeDecl(), and clang::Sema::ActOnFunctionDeclarator().
|
inline |
Definition at line 555 of file DeclSpec.h.
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckMain(), and clang::Sema::DiagnoseFunctionSpecifiers().
|
inline |
Definition at line 498 of file DeclSpec.h.
References clang::SourceRange::getEnd().
Referenced by GetFullTypeForDeclarator().
|
inline |
Definition at line 497 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().
|
inline |
Definition at line 696 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::ParsedFreeStandingDeclSpec(), and clang::Sema::ParseTypedefDecl().
|
inline |
Definition at line 566 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckMain(), and clang::Sema::DiagnoseFunctionSpecifiers().
|
inline |
Definition at line 757 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 360 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().
|
inline |
Definition at line 539 of file DeclSpec.h.
|
inline |
Definition at line 485 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().
|
inline |
Definition at line 489 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().
|
inline |
Definition at line 481 of file DeclSpec.h.
References isTypeRep(), and TypeRep.
Referenced by clang::Sema::CodeCompleteDeclSpec(), clang::Sema::containsUnexpandedParameterPacks(), ConvertDeclSpecToType(), clang::Declarator::isDeclarationOfFunction(), clang::Sema::ParsedFreeStandingDeclSpec(), and RebuildDeclaratorInCurrentInstantiation().
|
inline |
Definition at line 536 of file DeclSpec.h.
Referenced by clang::Sema::BuildAnonymousStructOrUnion(), clang::Sema::BuildQualifiedType(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckDestructorDeclarator(), diagnoseRedundantReturnTypeQualifiers(), and clang::Sema::ParsedFreeStandingDeclSpec().
|
inline |
Definition at line 496 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().
|
static |
Turn a type-specifier-type into a string like "_Bool" or "union".
Definition at line 444 of file DeclSpec.cpp.
References clang::PrintingPolicy::Bool, clang::PrintingPolicy::MSWChar, TST_atomic, TST_auto, TST_auto_type, 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(), diagnoseAndRemoveTypeQualifiers(), Finish(), clang::Sema::HandleField(), clang::Sema::HandleMSProperty(), clang::Sema::ParsedFreeStandingDeclSpec(), SetStorageClassSpec(), SetTypeAltiVecBool(), SetTypeAltiVecPixel(), SetTypeAltiVecVector(), SetTypePipe(), and SetTypeSpecType().
|
static |
Definition at line 482 of file DeclSpec.cpp.
References TQ_atomic, TQ_const, TQ_restrict, TQ_unspecified, and TQ_volatile.
|
static |
Definition at line 435 of file DeclSpec.cpp.
References TSS_signed, TSS_unsigned, and TSS_unspecified.
|
static |
Definition at line 425 of file DeclSpec.cpp.
References TSC_complex, TSC_imaginary, and TSC_unspecified.
|
static |
Definition at line 415 of file DeclSpec.cpp.
References TSW_long, TSW_longlong, TSW_short, and TSW_unspecified.
|
static |
Definition at line 391 of file DeclSpec.cpp.
References SCS_auto, SCS_extern, SCS_mutable, SCS_private_extern, SCS_register, SCS_static, SCS_typedef, and SCS_unspecified.
|
static |
Definition at line 405 of file DeclSpec.cpp.
References TSCS___thread, TSCS__Thread_local, TSCS_thread_local, and TSCS_unspecified.
|
inline |
Definition at line 441 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(), processTypeAttrs(), StorageClassSpecToVarDeclStorageClass(), and warnAboutAmbiguousFunction().
|
inline |
Definition at line 450 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().
|
inline |
Definition at line 442 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().
|
inline |
Definition at line 451 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().
|
inline |
Definition at line 511 of file DeclSpec.h.
|
inline |
getTypeQualifiers - Return a set of TQs.
Definition at line 534 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().
|
inline |
Definition at line 471 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteDeclSpec(), ConvertDeclSpecToType(), and hasTypeSpecifier().
|
inline |
Definition at line 501 of file DeclSpec.h.
Referenced by Finish().
|
inline |
Definition at line 493 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and clang::Sema::ParsedFreeStandingDeclSpec().
|
inline |
Definition at line 494 of file DeclSpec.h.
|
inline |
Definition at line 472 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteDeclSpec(), ConvertDeclSpecToType(), and hasTypeSpecifier().
|
inline |
Definition at line 502 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType().
|
inline |
Definition at line 473 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().
|
inline |
Definition at line 503 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(), and RebuildDeclaratorInCurrentInstantiation().
|
inline |
Definition at line 506 of file DeclSpec.h.
References isDeclRep(), and TST_typename.
Referenced by ConvertDeclSpecToType().
|
inline |
Definition at line 470 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and hasTypeSpecifier().
|
inline |
Definition at line 500 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType().
|
inline |
Definition at line 560 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::DiagnoseFunctionSpecifiers(), and Finish().
|
inline |
Definition at line 537 of file DeclSpec.h.
Referenced by clang::Sema::BuildAnonymousStructOrUnion(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckDestructorDeclarator(), diagnoseAndRemoveTypeQualifiers(), and diagnoseRedundantReturnTypeQualifiers().
|
inline |
Definition at line 753 of file DeclSpec.h.
|
inline |
Definition at line 739 of file DeclSpec.h.
References clang::ParsedAttributes::empty().
| bool DeclSpec::hasTagDefinition | ( | ) | const |
Definition at line 351 of file DeclSpec.cpp.
References getRepAsDecl().
Referenced by GetFullTypeForDeclarator().
|
inline |
Return true if any type-specifier has been found.
Definition at line 582 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().
|
inline |
Definition at line 701 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnTypedefDeclarator(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::HandleDeclarator(), and clang::Sema::ParsedFreeStandingDeclSpec().
|
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::ActOnVariableDeclarator(), clang::Sema::canDelayFunctionBody(), CreateNewFunctionDecl(), GetFullTypeForDeclarator(), and clang::Sema::ParsedFreeStandingDeclSpec().
Definition at line 407 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().
|
inline |
isEmpty - Return true if this declaration specifier is completely empty: no tokens were parsed in the production of it.
Definition at line 595 of file DeclSpec.h.
References getParsedSpecifiers(), and PQ_None.
Referenced by ConvertDeclSpecToType().
|
inline |
Definition at line 562 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckConversionDeclarator(), CreateNewFunctionDecl(), clang::Sema::DiagnoseFunctionSpecifiers(), and Finish().
|
inline |
Definition at line 445 of file DeclSpec.h.
Referenced by getFunctionStorageClass(), clang::Sema::ParsedFreeStandingDeclSpec(), and StorageClassSpecToVarDeclStorageClass().
|
inline |
Definition at line 692 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator(), clang::Sema::ActOnFriendFunctionDecl(), clang::Sema::ActOnFriendTypeDecl(), clang::Sema::ActOnFunctionDeclarator(), CreateNewFunctionDecl(), Finish(), GetFullTypeForDeclarator(), clang::Sema::HandleDeclarator(), clang::Declarator::isFirstDeclarationOfMember(), and clang::Sema::ParsedFreeStandingDeclSpec().
|
inline |
Definition at line 552 of file DeclSpec.h.
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFunctionDeclarator(), CreateNewFunctionDecl(), and clang::Sema::DiagnoseFunctionSpecifiers().
| bool DeclSpec::isMissingDeclaratorOk | ( | ) |
Checks if this DeclSpec can stand alone, without a Declarator.
Only tag declspecs can stand alone.
Definition at line 1222 of file DeclSpec.cpp.
References getRepAsDecl(), getTypeSpecType(), isDeclRep(), and SCS_typedef.
Referenced by clang::Sema::ParsedFreeStandingDeclSpec().
|
inline |
Definition at line 695 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().
|
inline |
Definition at line 565 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckMain(), and clang::Sema::DiagnoseFunctionSpecifiers().
|
inline |
Definition at line 476 of file DeclSpec.h.
|
inline |
Definition at line 475 of file DeclSpec.h.
|
inline |
Definition at line 474 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteDeclSpec().
|
inline |
Definition at line 478 of file DeclSpec.h.
References isTypeRep().
Referenced by getRepAsType(), isTypeRep(), SetTypeSpecType(), and UpdateTypeRep().
|
inline |
Definition at line 477 of file DeclSpec.h.
Referenced by clang::Sema::FinalizeDeclaratorGroup(), GetDeclSpecTypeForDeclarator(), and clang::Parser::ParseTypeName().
|
inline |
Definition at line 479 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType().
|
inline |
Definition at line 559 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::DiagnoseFunctionSpecifiers(), and Finish().
| bool DeclSpec::SetConceptSpec | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 911 of file DeclSpec.cpp.
| bool DeclSpec::SetConstexprSpec | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 897 of file DeclSpec.cpp.
|
inline |
Definition at line 446 of file DeclSpec.h.
| bool DeclSpec::SetFriendSpec | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 867 of file DeclSpec.cpp.
| bool DeclSpec::setFunctionSpecExplicit | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 837 of file DeclSpec.cpp.
| bool DeclSpec::setFunctionSpecForceInline | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 810 of file DeclSpec.cpp.
| bool DeclSpec::setFunctionSpecInline | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 796 of file DeclSpec.cpp.
| bool DeclSpec::setFunctionSpecNoreturn | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 852 of file DeclSpec.cpp.
| bool DeclSpec::setFunctionSpecVirtual | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 822 of file DeclSpec.cpp.
| bool DeclSpec::setModulePrivateSpec | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 885 of file DeclSpec.cpp.
References isModulePrivateSpecified().
|
inline |
Definition at line 758 of file DeclSpec.h.
|
inline |
Definition at line 600 of file DeclSpec.h.
References clang::SourceRange::setEnd().
Referenced by clang::Sema::ActOnFinishKNRParamDeclarations(), and clang::Sema::actOnObjCTypeArgsOrProtocolQualifiers().
|
inline |
Definition at line 599 of file DeclSpec.h.
References clang::SourceRange::setBegin().
Referenced by clang::Sema::ActOnFinishKNRParamDeclarations(), and clang::Sema::actOnObjCTypeArgsOrProtocolQualifiers().
| 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 748 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 733 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.
|
inline |
Definition at line 512 of file DeclSpec.h.
| bool DeclSpec::SetTypePipe | ( | bool | isPipe, |
| SourceLocation | Loc, | ||
| const char *& | PrevSpec, | ||
| unsigned & | DiagID, | ||
| const PrintingPolicy & | Policy | ||
| ) |
Definition at line 717 of file DeclSpec.cpp.
References getSpecifierName(), clang::TSP_pipe, and TST_unspecified.
| bool DeclSpec::SetTypeQual | ( | TQ | T, |
| SourceLocation | Loc, | ||
| const char *& | PrevSpec, | ||
| unsigned & | DiagID, | ||
| const LangOptions & | Lang | ||
| ) |
Definition at line 771 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.
| bool DeclSpec::SetTypeSpecError | ( | ) |
Definition at line 763 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(), isTypeRep(), TST_bool, and TST_unspecified.
Referenced by clang::Sema::ActOnCXXForRangeIdentifier(), clang::Sema::ActOnFinishKNRParamDeclarations(), clang::Sema::actOnObjCTypeArgsOrProtocolQualifiers(), 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(), isTypeRep(), 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.
|
inline |
Definition at line 744 of file DeclSpec.h.
References clang::ParsedAttributes::takeAllFrom().
|
inline |
Definition at line 656 of file DeclSpec.h.
References DeclRep, and isDeclRep().
|
inline |
Definition at line 664 of file DeclSpec.h.
References ExprRep.
Referenced by RebuildDeclaratorInCurrentInstantiation().
|
inline |
Definition at line 660 of file DeclSpec.h.
References isTypeRep(), and TypeRep.
Referenced by RebuildDeclaratorInCurrentInstantiation().
| Decl* clang::DeclSpec::DeclRep |
Definition at line 363 of file DeclSpec.h.
Referenced by getRepAsDecl(), SetTypeSpecType(), and UpdateDeclRep().
| Expr* clang::DeclSpec::ExprRep |
Definition at line 364 of file DeclSpec.h.
Referenced by getRepAsExpr(), SetTypeSpecType(), and UpdateExprRep().
|
static |
Definition at line 247 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 249 of file DeclSpec.h.
Referenced by getSpecifierName().
|
static |
Definition at line 248 of file DeclSpec.h.
Referenced by clang::Sema::ActOnVariableDeclarator(), and getSpecifierName().
|
static |
Definition at line 246 of file DeclSpec.h.
Referenced by ClearStorageClassSpecs(), Finish(), getParsedSpecifiers(), getSpecifierName(), and SetStorageClassSpecThread().
|
static |
Definition at line 267 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
|
static |
Definition at line 268 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
|
static |
Definition at line 266 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteDeclSpec(), ConvertDeclSpecToType(), Finish(), getSpecifierName(), hasTypeSpecifier(), and SetTypeSpecSign().
|
static |
Definition at line 301 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), getSpecifierName(), and RebuildDeclaratorInCurrentInstantiation().
|
static |
Definition at line 298 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXForRangeIdentifier(), containsPlaceholderType(), ConvertDeclSpecToType(), Finish(), GetDeclSpecTypeForDeclarator(), GetFullTypeForDeclarator(), getSpecifierName(), and SetStorageClassSpec().
|
static |
Definition at line 299 of file DeclSpec.h.
Referenced by containsPlaceholderType(), ConvertDeclSpecToType(), GetDeclSpecTypeForDeclarator(), and getSpecifierName().
|
static |
Definition at line 283 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), getSpecifierName(), and SetTypeSpecType().
|
static |
Definition at line 274 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
|
static |
Definition at line 276 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
|
static |
Definition at line 277 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
|
static |
Definition at line 291 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), ConvertDeclSpecToType(), GetDiagnosticTypeSpecifierID(), getSpecifierName(), isDeclRep(), clang::Sema::isTagName(), and clang::Sema::ParsedFreeStandingDeclSpec().
|
static |
Definition at line 286 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
|
static |
Definition at line 284 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
|
static |
Definition at line 285 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
|
static |
Definition at line 295 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXNestedNameSpecifierDecltype(), ConvertDeclSpecToType(), clang::Sema::getDestructorType(), getSpecifierName(), and RebuildDeclaratorInCurrentInstantiation().
|
static |
Definition at line 296 of file DeclSpec.h.
Referenced by containsPlaceholderType(), ConvertDeclSpecToType(), Finish(), GetDeclSpecTypeForDeclarator(), and getSpecifierName().
|
static |
Definition at line 282 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
|
static |
Definition at line 287 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), ConvertDeclSpecToType(), GetDiagnosticTypeSpecifierID(), getSpecifierName(), isDeclRep(), clang::Sema::isTagName(), and clang::Sema::ParsedFreeStandingDeclSpec().
|
static |
Definition at line 302 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXNestedNameSpecifierDecltype(), ConvertDeclSpecToType(), clang::Sema::getDestructorType(), getSpecifierName(), clang::Declarator::isInvalidType(), clang::Sema::ParsedFreeStandingDeclSpec(), and SetTypeSpecError().
|
static |
Definition at line 281 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
|
static |
Definition at line 280 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
|
static |
Definition at line 278 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFinishKNRParamDeclarations(), ConvertDeclSpecToType(), Finish(), getSpecifierName(), and clang::Sema::ImplicitlyDefineFunction().
|
static |
Definition at line 279 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
|
static |
Definition at line 290 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), ConvertDeclSpecToType(), GetDiagnosticTypeSpecifierID(), getSpecifierName(), isDeclRep(), clang::Sema::isTagName(), and clang::Sema::ParsedFreeStandingDeclSpec().
|
static |
Definition at line 289 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), ConvertDeclSpecToType(), GetDiagnosticTypeSpecifierID(), getSpecifierName(), isDeclRep(), clang::Sema::isTagName(), and clang::Sema::ParsedFreeStandingDeclSpec().
|
static |
Definition at line 292 of file DeclSpec.h.
Referenced by clang::Sema::actOnObjCTypeArgsOrProtocolQualifiers(), clang::Sema::CodeCompleteDeclSpec(), ConvertDeclSpecToType(), getSpecifierName(), getTypeSpecTypeNameLoc(), clang::Sema::ParsedFreeStandingDeclSpec(), and RebuildDeclaratorInCurrentInstantiation().
|
static |
Definition at line 294 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), getSpecifierName(), and RebuildDeclaratorInCurrentInstantiation().
|
static |
Definition at line 293 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), getSpecifierName(), and RebuildDeclaratorInCurrentInstantiation().
|
static |
Definition at line 297 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), getSpecifierName(), and RebuildDeclaratorInCurrentInstantiation().
|
static |
Definition at line 288 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), ConvertDeclSpecToType(), GetDiagnosticTypeSpecifierID(), getSpecifierName(), isDeclRep(), clang::Sema::isTagName(), and clang::Sema::ParsedFreeStandingDeclSpec().
|
static |
Definition at line 300 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
|
static |
Definition at line 272 of file DeclSpec.h.
Referenced by ClearTypeSpecType(), ConvertDeclSpecToType(), Finish(), getSpecifierName(), hasTypeSpecifier(), clang::Sema::isTagName(), SetStorageClassSpec(), SetTypeAltiVecBool(), SetTypeAltiVecPixel(), SetTypeAltiVecVector(), SetTypePipe(), and SetTypeSpecType().
|
static |
Definition at line 273 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
|
static |
Definition at line 275 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
|
static |
Definition at line 255 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), getSpecifierName(), and SetTypeSpecWidth().
|
static |
Definition at line 256 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), getSpecifierName(), and SetTypeSpecWidth().
|
static |
Definition at line 254 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
|
static |
Definition at line 253 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), getSpecifierName(), hasTypeSpecifier(), and SetTypeSpecWidth().
| UnionParsedType clang::DeclSpec::TypeRep |
Definition at line 362 of file DeclSpec.h.
Referenced by getRepAsType(), SetTypeSpecType(), and UpdateTypeRep().
1.8.6