clang API Documentation
#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 } |
| enum | TSC { TSC_unspecified, TSC_imaginary, TSC_complex } |
| enum | TQ { TQ_unspecified = 0, TQ_const = 1, TQ_restrict = 2, TQ_volatile = 4 } |
| enum | ParsedSpecifiers { PQ_None = 0, PQ_StorageClassSpecifier = 1, PQ_TypeSpecifier = 2, PQ_TypeQualifier = 4, PQ_FunctionSpecifier = 8 } |
| typedef TypeSpecifierWidth | TSW |
| typedef TypeSpecifierSign | TSS |
| typedef TypeSpecifierType | TST |
| typedef Decl *const * | ProtocolQualifierListTy |
Public Member Functions | |
| DeclSpec (AttributeFactory &attrFactory) | |
| ~DeclSpec () | |
| SCS | getStorageClassSpec () const |
| bool | isThreadSpecified () const |
| bool | isExternInLinkageSpec () const |
| void | setExternInLinkageSpec (bool Value) |
| SourceLocation | getStorageClassSpecLoc () const |
| SourceLocation | getThreadSpecLoc () const |
| void | ClearStorageClassSpecs () |
| TSW | getTypeSpecWidth () const |
| TSC | getTypeSpecComplex () const |
| TSS | getTypeSpecSign () const |
| TST | getTypeSpecType () const |
| bool | isTypeAltiVecVector () const |
| bool | isTypeAltiVecPixel () const |
| bool | isTypeAltiVecBool () const |
| bool | isTypeSpecOwned () const |
| ParsedType | getRepAsType () const |
| Decl * | getRepAsDecl () const |
| Expr * | getRepAsExpr () const |
| CXXScopeSpec & | getTypeSpecScope () |
| const CXXScopeSpec & | getTypeSpecScope () const |
| const SourceRange & | getSourceRange () const LLVM_READONLY |
| SourceLocation | getLocStart () const LLVM_READONLY |
| SourceLocation | getLocEnd () const LLVM_READONLY |
| SourceLocation | getTypeSpecWidthLoc () const |
| SourceLocation | getTypeSpecComplexLoc () const |
| SourceLocation | getTypeSpecSignLoc () const |
| SourceLocation | getTypeSpecTypeLoc () const |
| SourceLocation | getAltiVecLoc () const |
| SourceLocation | getTypeSpecTypeNameLoc () const |
| SourceRange | getTypeofParensRange () const |
| void | setTypeofParensRange (SourceRange range) |
| unsigned | getTypeQualifiers () const |
| getTypeQualifiers - Return a set of TQs. | |
| SourceLocation | getConstSpecLoc () const |
| SourceLocation | getRestrictSpecLoc () const |
| SourceLocation | getVolatileSpecLoc () const |
| void | ClearTypeQualifiers () |
| Clear out all of the type qualifiers. | |
| bool | isInlineSpecified () const |
| SourceLocation | getInlineSpecLoc () const |
| bool | isVirtualSpecified () const |
| SourceLocation | getVirtualSpecLoc () const |
| bool | isExplicitSpecified () const |
| SourceLocation | getExplicitSpecLoc () const |
| void | ClearFunctionSpecs () |
| bool | hasTypeSpecifier () const |
| hasTypeSpecifier - Return true if any type-specifier has been found. | |
| unsigned | getParsedSpecifiers () const |
| SCS | getStorageClassSpecAsWritten () const |
| bool | isEmpty () const |
| void | SetRangeStart (SourceLocation Loc) |
| void | SetRangeEnd (SourceLocation Loc) |
| bool | SetStorageClassSpec (Sema &S, SCS SC, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
| bool | SetStorageClassSpecThread (SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
| bool | SetTypeSpecWidth (TSW W, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
| 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) |
| bool | SetTypeSpecType (TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, ParsedType Rep) |
| bool | SetTypeSpecType (TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned) |
| bool | SetTypeSpecType (TST T, SourceLocation TagKwLoc, SourceLocation TagNameLoc, const char *&PrevSpec, unsigned &DiagID, ParsedType Rep) |
| bool | SetTypeSpecType (TST T, SourceLocation TagKwLoc, SourceLocation TagNameLoc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned) |
| bool | SetTypeSpecType (TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Expr *Rep) |
| bool | SetTypeAltiVecVector (bool isAltiVecVector, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
| bool | SetTypeAltiVecPixel (bool isAltiVecPixel, 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, const char *&PrevSpec, unsigned &DiagID, const LangOptions &Lang) |
| bool | SetFunctionSpecInline (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) |
| bool | SetFriendSpec (SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
| bool | setModulePrivateSpec (SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
| bool | SetConstexprSpec (SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID) |
| bool | isFriendSpecified () const |
| SourceLocation | getFriendSpecLoc () const |
| bool | isModulePrivateSpecified () const |
| SourceLocation | getModulePrivateSpecLoc () const |
| bool | isConstexprSpecified () const |
| SourceLocation | getConstexprSpecLoc () const |
| void | ClearConstexprSpec () |
| AttributePool & | getAttributePool () const |
| void | addAttributes (AttributeList *AL) |
| void | setAttributes (AttributeList *AL) |
| bool | hasAttributes () const |
| ParsedAttributes & | getAttributes () |
| const ParsedAttributes & | getAttributes () const |
| ParsedAttributes | takeAttributes () |
| void | takeAttributesFrom (ParsedAttributes &attrs) |
| ProtocolQualifierListTy | getProtocolQualifiers () const |
| SourceLocation * | getProtocolLocs () const |
| unsigned | getNumProtocolQualifiers () const |
| SourceLocation | getProtocolLAngleLoc () const |
| void | setProtocolQualifiers (Decl *const *Protos, unsigned NP, SourceLocation *ProtoLocs, SourceLocation LAngleLoc) |
| void | Finish (DiagnosticsEngine &D, Preprocessor &PP) |
| const WrittenBuiltinSpecs & | getWrittenBuiltinSpecs () const |
| ObjCDeclSpec * | getObjCQualifiers () const |
| void | setObjCQualifiers (ObjCDeclSpec *quals) |
| bool | isMissingDeclaratorOk () |
Static Public Member Functions | |
| static const char * | getSpecifierName (DeclSpec::TST T) |
| 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 Public Attributes | |
| 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_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_underlyingType = clang::TST_underlyingType |
| static const TST | TST_auto = clang::TST_auto |
| 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 |
DeclSpec - This class captures information about "declaration specifiers", which encompasses storage-class-specifiers, type-specifiers, type-qualifiers, and function-specifiers.
Definition at line 205 of file DeclSpec.h.
| typedef Decl* const* clang::DeclSpec::ProtocolQualifierListTy |
Definition at line 662 of file DeclSpec.h.
Definition at line 234 of file DeclSpec.h.
Definition at line 240 of file DeclSpec.h.
Definition at line 221 of file DeclSpec.h.
ParsedSpecifiers - Flags to query which specifiers were applied. This is returned by getParsedSpecifiers.
Definition at line 280 of file DeclSpec.h.
| enum clang::DeclSpec::SCS |
| SCS_unspecified | |
| SCS_typedef | |
| SCS_extern | |
| SCS_static | |
| SCS_auto | |
| SCS_register | |
| SCS_private_extern | |
| SCS_mutable |
Definition at line 209 of file DeclSpec.h.
| enum clang::DeclSpec::TQ |
Definition at line 271 of file DeclSpec.h.
| enum clang::DeclSpec::TSC |
Definition at line 227 of file DeclSpec.h.
| clang::DeclSpec::DeclSpec | ( | AttributeFactory & | attrFactory | ) | [inline] |
Definition at line 378 of file DeclSpec.h.
| clang::DeclSpec::~DeclSpec | ( | ) | [inline] |
Definition at line 404 of file DeclSpec.h.
| void clang::DeclSpec::addAttributes | ( | AttributeList * | AL | ) | [inline] |
AddAttributes - contatenates 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 639 of file DeclSpec.h.
References clang::ParsedAttributes::addAll().
| void clang::DeclSpec::ClearConstexprSpec | ( | ) | [inline] |
Definition at line 618 of file DeclSpec.h.
| void clang::DeclSpec::ClearFunctionSpecs | ( | ) | [inline] |
Definition at line 504 of file DeclSpec.h.
| void clang::DeclSpec::ClearStorageClassSpecs | ( | ) | [inline] |
Definition at line 419 of file DeclSpec.h.
References SCS_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 487 of file DeclSpec.h.
Referenced by clang::Sema::BuildAnonymousStructOrUnion().
| void DeclSpec::Finish | ( | DiagnosticsEngine & | D, |
| Preprocessor & | PP | ||
| ) |
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 775 of file DeclSpec.cpp.
References ClearStorageClassSpecs(), clang::FixItHint::CreateInsertion(), clang::FixItHint::CreateRemoval(), Diag(), clang::Preprocessor::getLangOpts(), clang::Preprocessor::getLocForEndOfToken(), clang::SourceLocation::getLocWithOffset(), getSpecifierName(), getStorageClassSpec(), getStorageClassSpecLoc(), getTypeSpecComplexLoc(), isFriendSpecified(), SCS_auto, SCS_unspecified, TSC_unspecified, TSS_unsigned, TSS_unspecified, TST_auto, TST_char, TST_char16, TST_char32, 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 459 of file DeclSpec.h.
| AttributePool& clang::DeclSpec::getAttributePool | ( | ) | const [inline] |
Definition at line 623 of file DeclSpec.h.
References clang::ParsedAttributes::getPool().
Referenced by takeDeclAttributes().
| ParsedAttributes& clang::DeclSpec::getAttributes | ( | ) | [inline] |
Definition at line 648 of file DeclSpec.h.
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::checkUnusedDeclAttributes(), distributeObjCPointerTypeAttrFromDeclarator(), clang::Sema::ImplicitlyDefineFunction(), clang::Sema::ParsedFreeStandingDeclSpec(), clang::Sema::ProcessDeclAttributes(), and takeDeclAttributes().
| const ParsedAttributes& clang::DeclSpec::getAttributes | ( | ) | const [inline] |
Definition at line 649 of file DeclSpec.h.
| SourceLocation clang::DeclSpec::getConstexprSpecLoc | ( | ) | const [inline] |
Definition at line 616 of file DeclSpec.h.
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnTypedefDeclarator(), clang::Sema::CheckMain(), clang::Sema::HandleField(), and clang::Sema::ParsedFreeStandingDeclSpec().
| SourceLocation clang::DeclSpec::getConstSpecLoc | ( | ) | const [inline] |
Definition at line 482 of file DeclSpec.h.
Referenced by clang::Sema::BuildAnonymousStructOrUnion(), GetFullTypeForDeclarator(), and clang::Sema::ParsedFreeStandingDeclSpec().
| SourceLocation clang::DeclSpec::getExplicitSpecLoc | ( | ) | const [inline] |
Definition at line 502 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckConversionDeclarator(), clang::Sema::DiagnoseFunctionSpecifiers(), and clang::Sema::ParsedFreeStandingDeclSpec().
| SourceLocation clang::DeclSpec::getFriendSpecLoc | ( | ) | const [inline] |
Definition at line 610 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFriendFunctionDecl(), and clang::Sema::ActOnFriendTypeDecl().
| SourceLocation clang::DeclSpec::getInlineSpecLoc | ( | ) | const [inline] |
Definition at line 496 of file DeclSpec.h.
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckMain(), clang::Sema::DiagnoseFunctionSpecifiers(), and clang::Sema::ParsedFreeStandingDeclSpec().
| SourceLocation clang::DeclSpec::getLocEnd | ( | ) | const [inline] |
Definition at line 453 of file DeclSpec.h.
References clang::SourceRange::getEnd().
| SourceLocation clang::DeclSpec::getLocStart | ( | ) | const [inline] |
Definition at line 452 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 613 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::ParsedFreeStandingDeclSpec(), and clang::Sema::ParseTypedefDecl().
| unsigned clang::DeclSpec::getNumProtocolQualifiers | ( | ) | const [inline] |
Definition at line 667 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType().
| ObjCDeclSpec* clang::DeclSpec::getObjCQualifiers | ( | ) | const [inline] |
Definition at line 684 of file DeclSpec.h.
| unsigned DeclSpec::getParsedSpecifiers | ( | ) | const |
getParsedSpecifiers - 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 305 of file DeclSpec.cpp.
References hasTypeSpecifier(), PQ_FunctionSpecifier, PQ_StorageClassSpecifier, PQ_TypeQualifier, PQ_TypeSpecifier, SCS_unspecified, and TQ_unspecified.
Referenced by isEmpty().
| SourceLocation clang::DeclSpec::getProtocolLAngleLoc | ( | ) | const [inline] |
Definition at line 670 of file DeclSpec.h.
| SourceLocation* clang::DeclSpec::getProtocolLocs | ( | ) | const [inline] |
Definition at line 666 of file DeclSpec.h.
| ProtocolQualifierListTy clang::DeclSpec::getProtocolQualifiers | ( | ) | const [inline] |
Definition at line 663 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType().
| Decl* clang::DeclSpec::getRepAsDecl | ( | ) | const [inline] |
Definition at line 440 of file DeclSpec.h.
References DeclRep.
Referenced by ConvertDeclSpecToType(), clang::Sema::FinalizeDeclaratorGroup(), GetDeclSpecTypeForDeclarator(), GetFullTypeForDeclarator(), isMissingDeclaratorOk(), clang::Sema::ParsedFreeStandingDeclSpec(), and clang::Sema::ParseTypedefDecl().
| Expr* clang::DeclSpec::getRepAsExpr | ( | ) | const [inline] |
Definition at line 444 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 436 of file DeclSpec.h.
References TypeRep.
Referenced by clang::Sema::BuildMicrosoftCAnonymousStruct(), clang::Sema::CodeCompleteDeclSpec(), clang::Sema::containsUnexpandedParameterPacks(), ConvertDeclSpecToType(), clang::Declarator::isDeclarationOfFunction(), clang::Sema::ParsedFreeStandingDeclSpec(), and RebuildDeclaratorInCurrentInstantiation().
| SourceLocation clang::DeclSpec::getRestrictSpecLoc | ( | ) | const [inline] |
Definition at line 483 of file DeclSpec.h.
Referenced by clang::Sema::BuildAnonymousStructOrUnion(), GetFullTypeForDeclarator(), and clang::Sema::ParsedFreeStandingDeclSpec().
| const SourceRange& clang::DeclSpec::getSourceRange | ( | ) | const [inline] |
Definition at line 451 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 | ) | [static] |
getSpecifierName - Turn a type-specifier-type into a string like "_Bool" or "union".
Definition at line 374 of file DeclSpec.cpp.
References TST_atomic, TST_auto, TST_bool, TST_char, TST_char16, TST_char32, TST_class, TST_decimal128, TST_decimal32, TST_decimal64, TST_decltype, TST_double, TST_enum, TST_error, TST_float, TST_half, TST_int, TST_int128, 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(), ConvertDeclSpecToType(), Finish(), clang::Sema::ParsedFreeStandingDeclSpec(), SetStorageClassSpec(), SetTypeAltiVecPixel(), SetTypeAltiVecVector(), SetTypeSpecType(), and SetTypeSpecWidth().
| const char * DeclSpec::getSpecifierName | ( | DeclSpec::TQ | Q | ) | [static] |
Definition at line 408 of file DeclSpec.cpp.
References TQ_const, TQ_restrict, TQ_unspecified, and TQ_volatile.
| const char * DeclSpec::getSpecifierName | ( | DeclSpec::TSS | S | ) | [static] |
Definition at line 365 of file DeclSpec.cpp.
References TSS_signed, TSS_unsigned, and TSS_unspecified.
| const char * DeclSpec::getSpecifierName | ( | DeclSpec::TSC | C | ) | [static] |
Definition at line 355 of file DeclSpec.cpp.
References TSC_complex, TSC_imaginary, and TSC_unspecified.
| const char * DeclSpec::getSpecifierName | ( | DeclSpec::TSW | W | ) | [static] |
Definition at line 345 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 331 of file DeclSpec.cpp.
References SCS_auto, SCS_extern, SCS_mutable, SCS_private_extern, SCS_register, SCS_static, SCS_typedef, and SCS_unspecified.
| SCS clang::DeclSpec::getStorageClassSpec | ( | ) | const [inline] |
Definition at line 409 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(), GetDeclSpecTypeForDeclarator(), GetFullTypeForDeclarator(), getFunctionStorageClass(), clang::Sema::HandleDeclarator(), clang::Sema::HandleField(), and clang::Sema::ParsedFreeStandingDeclSpec().
| SCS clang::DeclSpec::getStorageClassSpecAsWritten | ( | ) | const [inline] |
Definition at line 526 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::BuildAnonymousStructOrUnion(), clang::Sema::CodeCompleteDeclSpec(), and CreateNewFunctionDecl().
| SourceLocation clang::DeclSpec::getStorageClassSpecLoc | ( | ) | const [inline] |
Definition at line 416 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().
| SourceLocation clang::DeclSpec::getThreadSpecLoc | ( | ) | const [inline] |
Definition at line 417 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnObjCExceptionDecl(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnTypedefDeclarator(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::HandleField(), and clang::Sema::ParsedFreeStandingDeclSpec().
| SourceRange clang::DeclSpec::getTypeofParensRange | ( | ) | const [inline] |
Definition at line 466 of file DeclSpec.h.
| unsigned clang::DeclSpec::getTypeQualifiers | ( | ) | const [inline] |
getTypeQualifiers - Return a set of TQs.
Definition at line 481 of file DeclSpec.h.
Referenced by clang::Sema::BuildAnonymousStructOrUnion(), clang::Sema::CodeCompleteDeclSpec(), clang::Sema::CodeCompleteTypeQualifiers(), GetFullTypeForDeclarator(), and clang::Sema::ParsedFreeStandingDeclSpec().
| TSC clang::DeclSpec::getTypeSpecComplex | ( | ) | const [inline] |
Definition at line 429 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteDeclSpec(), ConvertDeclSpecToType(), and hasTypeSpecifier().
| SourceLocation clang::DeclSpec::getTypeSpecComplexLoc | ( | ) | const [inline] |
Definition at line 456 of file DeclSpec.h.
Referenced by Finish().
| CXXScopeSpec& clang::DeclSpec::getTypeSpecScope | ( | ) | [inline] |
Definition at line 448 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType().
| const CXXScopeSpec& clang::DeclSpec::getTypeSpecScope | ( | ) | const [inline] |
Definition at line 449 of file DeclSpec.h.
| TSS clang::DeclSpec::getTypeSpecSign | ( | ) | const [inline] |
Definition at line 430 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteDeclSpec(), ConvertDeclSpecToType(), and hasTypeSpecifier().
| SourceLocation clang::DeclSpec::getTypeSpecSignLoc | ( | ) | const [inline] |
Definition at line 457 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType().
| TST clang::DeclSpec::getTypeSpecType | ( | ) | const [inline] |
Definition at line 431 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXNestedNameSpecifierDecltype(), clang::Sema::ActOnCXXNew(), clang::Sema::ActOnVariableDeclarator(), 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 458 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().
| SourceLocation clang::DeclSpec::getTypeSpecTypeNameLoc | ( | ) | const [inline] |
Definition at line 461 of file DeclSpec.h.
References TST_typename.
Referenced by ConvertDeclSpecToType().
| TSW clang::DeclSpec::getTypeSpecWidth | ( | ) | const [inline] |
Definition at line 428 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and hasTypeSpecifier().
| SourceLocation clang::DeclSpec::getTypeSpecWidthLoc | ( | ) | const [inline] |
Definition at line 455 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType().
| SourceLocation clang::DeclSpec::getVirtualSpecLoc | ( | ) | const [inline] |
Definition at line 499 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::DiagnoseFunctionSpecifiers(), and clang::Sema::ParsedFreeStandingDeclSpec().
| SourceLocation clang::DeclSpec::getVolatileSpecLoc | ( | ) | const [inline] |
Definition at line 484 of file DeclSpec.h.
Referenced by clang::Sema::BuildAnonymousStructOrUnion(), and GetFullTypeForDeclarator().
| const WrittenBuiltinSpecs& clang::DeclSpec::getWrittenBuiltinSpecs | ( | ) | const [inline] |
Definition at line 680 of file DeclSpec.h.
| bool clang::DeclSpec::hasAttributes | ( | ) | const [inline] |
Definition at line 646 of file DeclSpec.h.
References clang::ParsedAttributes::empty().
| bool clang::DeclSpec::hasTypeSpecifier | ( | ) | const [inline] |
hasTypeSpecifier - Return true if any type-specifier has been found.
Definition at line 514 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 615 of file DeclSpec.h.
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnTypedefDeclarator(), clang::Sema::ActOnVariableDeclarator(), CreateNewFunctionDecl(), GetFullTypeForDeclarator(), clang::Sema::HandleField(), and clang::Sema::ParsedFreeStandingDeclSpec().
| 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 532 of file DeclSpec.h.
References getParsedSpecifiers(), and PQ_None.
Referenced by ConvertDeclSpecToType().
| bool clang::DeclSpec::isExplicitSpecified | ( | ) | const [inline] |
Definition at line 501 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckConversionDeclarator(), CreateNewFunctionDecl(), clang::Sema::DiagnoseFunctionSpecifiers(), and clang::Sema::ParsedFreeStandingDeclSpec().
| bool clang::DeclSpec::isExternInLinkageSpec | ( | ) | const [inline] |
Definition at line 411 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteDeclSpec(), and clang::Sema::ParsedFreeStandingDeclSpec().
| bool clang::DeclSpec::isFriendSpecified | ( | ) | const [inline] |
Definition at line 609 of file DeclSpec.h.
Referenced by clang::Sema::ActOnCXXMemberDeclarator(), clang::Sema::ActOnFriendFunctionDecl(), clang::Sema::ActOnFriendTypeDecl(), clang::Sema::ActOnFunctionDeclarator(), Finish(), GetFullTypeForDeclarator(), clang::Sema::HandleDeclarator(), and clang::Sema::ParsedFreeStandingDeclSpec().
| bool clang::DeclSpec::isInlineSpecified | ( | ) | const [inline] |
Definition at line 495 of file DeclSpec.h.
Referenced by clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnFunctionDeclarator(), CreateNewFunctionDecl(), clang::Sema::DiagnoseFunctionSpecifiers(), and clang::Sema::ParsedFreeStandingDeclSpec().
| bool DeclSpec::isMissingDeclaratorOk | ( | ) |
isMissingDeclaratorOk - This checks if this DeclSpec can stand alone, without a Declarator. Only tag declspecs can stand alone.
Definition at line 932 of file DeclSpec.cpp.
References getRepAsDecl(), getTypeSpecType(), and SCS_typedef.
Referenced by clang::Sema::ParsedFreeStandingDeclSpec().
| bool clang::DeclSpec::isModulePrivateSpecified | ( | ) | const [inline] |
Definition at line 612 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::ParsedFreeStandingDeclSpec(), clang::Sema::ParseTypedefDecl(), and setModulePrivateSpec().
| bool clang::DeclSpec::isThreadSpecified | ( | ) | const [inline] |
Definition at line 410 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnObjCExceptionDecl(), clang::Sema::ActOnParamDeclarator(), clang::Sema::ActOnTypedefDeclarator(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::CodeCompleteDeclSpec(), clang::Sema::HandleField(), and clang::Sema::ParsedFreeStandingDeclSpec().
| bool clang::DeclSpec::isTypeAltiVecBool | ( | ) | const [inline] |
Definition at line 434 of file DeclSpec.h.
| bool clang::DeclSpec::isTypeAltiVecPixel | ( | ) | const [inline] |
Definition at line 433 of file DeclSpec.h.
| bool clang::DeclSpec::isTypeAltiVecVector | ( | ) | const [inline] |
Definition at line 432 of file DeclSpec.h.
| bool clang::DeclSpec::isTypeSpecOwned | ( | ) | const [inline] |
Definition at line 435 of file DeclSpec.h.
Referenced by clang::Sema::FinalizeDeclaratorGroup(), GetDeclSpecTypeForDeclarator(), and GetFullTypeForDeclarator().
| bool clang::DeclSpec::isVirtualSpecified | ( | ) | const [inline] |
Definition at line 498 of file DeclSpec.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::DiagnoseFunctionSpecifiers(), and clang::Sema::ParsedFreeStandingDeclSpec().
| void clang::DeclSpec::setAttributes | ( | AttributeList * | AL | ) | [inline] |
Definition at line 642 of file DeclSpec.h.
References clang::ParsedAttributes::set().
| bool DeclSpec::SetConstexprSpec | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 725 of file DeclSpec.cpp.
| void clang::DeclSpec::setExternInLinkageSpec | ( | bool | Value | ) | [inline] |
Definition at line 412 of file DeclSpec.h.
| bool DeclSpec::SetFriendSpec | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 700 of file DeclSpec.cpp.
| bool DeclSpec::SetFunctionSpecExplicit | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 692 of file DeclSpec.cpp.
| bool DeclSpec::SetFunctionSpecInline | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 676 of file DeclSpec.cpp.
| bool DeclSpec::SetFunctionSpecVirtual | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 684 of file DeclSpec.cpp.
| bool DeclSpec::setModulePrivateSpec | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 713 of file DeclSpec.cpp.
References isModulePrivateSpecified().
| void clang::DeclSpec::setObjCQualifiers | ( | ObjCDeclSpec * | quals | ) | [inline] |
Definition at line 685 of file DeclSpec.h.
| void DeclSpec::setProtocolQualifiers | ( | Decl *const * | Protos, |
| unsigned | NP, | ||
| SourceLocation * | ProtoLocs, | ||
| SourceLocation | LAngleLoc | ||
| ) |
Definition at line 733 of file DeclSpec.cpp.
| void clang::DeclSpec::SetRangeEnd | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 537 of file DeclSpec.h.
References clang::SourceRange::setEnd().
| void clang::DeclSpec::SetRangeStart | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 536 of file DeclSpec.h.
References clang::SourceRange::setBegin().
| bool DeclSpec::SetStorageClassSpec | ( | Sema & | S, |
| SCS | SC, | ||
| SourceLocation | Loc, | ||
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
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 418 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::BuildAnonymousStructOrUnion().
| bool DeclSpec::SetStorageClassSpecThread | ( | SourceLocation | Loc, |
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 470 of file DeclSpec.cpp.
| bool DeclSpec::SetTypeAltiVecPixel | ( | bool | isAltiVecPixel, |
| SourceLocation | Loc, | ||
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 638 of file DeclSpec.cpp.
References getSpecifierName(), and TST_unspecified.
| bool DeclSpec::SetTypeAltiVecVector | ( | bool | isAltiVecVector, |
| SourceLocation | Loc, | ||
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 626 of file DeclSpec.cpp.
References getSpecifierName(), and TST_unspecified.
| void clang::DeclSpec::setTypeofParensRange | ( | SourceRange | range | ) | [inline] |
Definition at line 467 of file DeclSpec.h.
| bool DeclSpec::SetTypeQual | ( | TQ | T, |
| SourceLocation | Loc, | ||
| const char *& | PrevSpec, | ||
| unsigned & | DiagID, | ||
| const LangOptions & | Lang | ||
| ) |
Definition at line 660 of file DeclSpec.cpp.
References BadSpecifier(), TQ_const, TQ_restrict, and TQ_volatile.
| bool DeclSpec::SetTypeSpecComplex | ( | TSC | C, |
| SourceLocation | Loc, | ||
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 506 of file DeclSpec.cpp.
References BadSpecifier(), and TSC_unspecified.
| bool DeclSpec::SetTypeSpecError | ( | ) |
Definition at line 652 of file DeclSpec.cpp.
References TST_error.
| bool DeclSpec::SetTypeSpecSign | ( | TSS | S, |
| SourceLocation | Loc, | ||
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 516 of file DeclSpec.cpp.
References BadSpecifier(), S, and TSS_unspecified.
| bool DeclSpec::SetTypeSpecType | ( | TST | T, |
| SourceLocation | Loc, | ||
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
Definition at line 600 of file DeclSpec.cpp.
References getSpecifierName(), TST_bool, TST_double, and TST_unspecified.
Referenced by clang::Sema::ActOnFinishKNRParamDeclarations(), clang::Sema::ImplicitlyDefineFunction(), SetStorageClassSpec(), and SetTypeSpecType().
| bool DeclSpec::SetTypeSpecType | ( | TST | T, |
| SourceLocation | Loc, | ||
| const char *& | PrevSpec, | ||
| unsigned & | DiagID, | ||
| ParsedType | Rep | ||
| ) |
Definition at line 526 of file DeclSpec.cpp.
References SetTypeSpecType().
| bool DeclSpec::SetTypeSpecType | ( | TST | T, |
| SourceLocation | Loc, | ||
| const char *& | PrevSpec, | ||
| unsigned & | DiagID, | ||
| Decl * | Rep, | ||
| bool | Owned | ||
| ) |
Definition at line 572 of file DeclSpec.cpp.
References SetTypeSpecType().
| bool DeclSpec::SetTypeSpecType | ( | TST | T, |
| SourceLocation | TagKwLoc, | ||
| SourceLocation | TagNameLoc, | ||
| const char *& | PrevSpec, | ||
| unsigned & | DiagID, | ||
| ParsedType | Rep | ||
| ) |
Definition at line 533 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 | ||
| ) |
Definition at line 579 of file DeclSpec.cpp.
References DeclRep, getSpecifierName(), and TST_unspecified.
| bool DeclSpec::SetTypeSpecType | ( | TST | T, |
| SourceLocation | Loc, | ||
| const char *& | PrevSpec, | ||
| unsigned & | DiagID, | ||
| Expr * | Rep | ||
| ) |
Definition at line 553 of file DeclSpec.cpp.
References ExprRep, getSpecifierName(), and TST_unspecified.
| bool DeclSpec::SetTypeSpecWidth | ( | TSW | W, |
| SourceLocation | Loc, | ||
| const char *& | PrevSpec, | ||
| unsigned & | DiagID | ||
| ) |
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 486 of file DeclSpec.cpp.
References BadSpecifier(), getSpecifierName(), TSW_long, TSW_longlong, and TSW_unspecified.
| ParsedAttributes clang::DeclSpec::takeAttributes | ( | ) | [inline] |
TakeAttributes - Return the current attribute list and remove them from the DeclSpec so that it doesn't own them.
Definition at line 653 of file DeclSpec.h.
| void clang::DeclSpec::takeAttributesFrom | ( | ParsedAttributes & | attrs | ) | [inline] |
Definition at line 658 of file DeclSpec.h.
References clang::ParsedAttributes::takeAllFrom().
| void clang::DeclSpec::UpdateDeclRep | ( | Decl * | Rep | ) | [inline] |
Definition at line 579 of file DeclSpec.h.
References DeclRep.
| void clang::DeclSpec::UpdateExprRep | ( | Expr * | Rep | ) | [inline] |
Definition at line 587 of file DeclSpec.h.
References ExprRep.
Referenced by RebuildDeclaratorInCurrentInstantiation().
| void clang::DeclSpec::UpdateTypeRep | ( | ParsedType | Rep | ) | [inline] |
Definition at line 583 of file DeclSpec.h.
References TypeRep.
Referenced by RebuildDeclaratorInCurrentInstantiation().
Definition at line 322 of file DeclSpec.h.
Referenced by getRepAsDecl(), SetTypeSpecType(), and UpdateDeclRep().
Definition at line 323 of file DeclSpec.h.
Referenced by getRepAsExpr(), SetTypeSpecType(), and UpdateExprRep().
const TSS clang::DeclSpec::TSS_signed = clang::TSS_signed [static] |
Definition at line 236 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
const TSS clang::DeclSpec::TSS_unsigned = clang::TSS_unsigned [static] |
Definition at line 237 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TSS clang::DeclSpec::TSS_unspecified = clang::TSS_unspecified [static] |
Definition at line 235 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 267 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), getSpecifierName(), and RebuildDeclaratorInCurrentInstantiation().
const TST clang::DeclSpec::TST_auto = clang::TST_auto [static] |
Definition at line 265 of file DeclSpec.h.
Referenced by clang::Sema::ActOnVariableDeclarator(), ConvertDeclSpecToType(), Finish(), GetDeclSpecTypeForDeclarator(), GetFullTypeForDeclarator(), getSpecifierName(), and SetStorageClassSpec().
const TST clang::DeclSpec::TST_bool = clang::TST_bool [static] |
Definition at line 252 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), getSpecifierName(), and SetTypeSpecType().
const TST clang::DeclSpec::TST_char = clang::TST_char [static] |
Definition at line 243 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TST clang::DeclSpec::TST_char16 = clang::TST_char16 [static] |
Definition at line 245 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TST clang::DeclSpec::TST_char32 = clang::TST_char32 [static] |
Definition at line 246 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TST clang::DeclSpec::TST_class = clang::TST_class [static] |
Definition at line 259 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), ConvertDeclSpecToType(), getSpecifierName(), and clang::Sema::ParsedFreeStandingDeclSpec().
const TST clang::DeclSpec::TST_decimal128 = clang::TST_decimal128 [static] |
Definition at line 255 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
const TST clang::DeclSpec::TST_decimal32 = clang::TST_decimal32 [static] |
Definition at line 253 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
const TST clang::DeclSpec::TST_decimal64 = clang::TST_decimal64 [static] |
Definition at line 254 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
const TST clang::DeclSpec::TST_decltype = clang::TST_decltype [static] |
Definition at line 263 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), clang::Sema::getDestructorType(), getSpecifierName(), and RebuildDeclaratorInCurrentInstantiation().
const TST clang::DeclSpec::TST_double = clang::TST_double [static] |
Definition at line 251 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), getSpecifierName(), and SetTypeSpecType().
const TST clang::DeclSpec::TST_enum = clang::TST_enum [static] |
Definition at line 256 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), ConvertDeclSpecToType(), getSpecifierName(), and clang::Sema::ParsedFreeStandingDeclSpec().
const TST clang::DeclSpec::TST_error = clang::TST_error [static] |
Definition at line 268 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), clang::Sema::getDestructorType(), getSpecifierName(), and SetTypeSpecError().
const TST clang::DeclSpec::TST_float = clang::TST_float [static] |
Definition at line 250 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TST clang::DeclSpec::TST_half = clang::TST_half [static] |
Definition at line 249 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
const TST clang::DeclSpec::TST_int = clang::TST_int [static] |
Definition at line 247 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 248 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TST clang::DeclSpec::TST_struct = clang::TST_struct [static] |
Definition at line 258 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), ConvertDeclSpecToType(), getSpecifierName(), and clang::Sema::ParsedFreeStandingDeclSpec().
const TST clang::DeclSpec::TST_typename = clang::TST_typename [static] |
Definition at line 260 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteDeclSpec(), ConvertDeclSpecToType(), getSpecifierName(), getTypeSpecTypeNameLoc(), clang::Sema::ParsedFreeStandingDeclSpec(), and RebuildDeclaratorInCurrentInstantiation().
const TST clang::DeclSpec::TST_typeofExpr = clang::TST_typeofExpr [static] |
Definition at line 262 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), getSpecifierName(), and RebuildDeclaratorInCurrentInstantiation().
const TST clang::DeclSpec::TST_typeofType = clang::TST_typeofType [static] |
Definition at line 261 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), getSpecifierName(), and RebuildDeclaratorInCurrentInstantiation().
const TST clang::DeclSpec::TST_underlyingType = clang::TST_underlyingType [static] |
Definition at line 264 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), getSpecifierName(), and RebuildDeclaratorInCurrentInstantiation().
const TST clang::DeclSpec::TST_union = clang::TST_union [static] |
Definition at line 257 of file DeclSpec.h.
Referenced by clang::Sema::CodeCompleteTag(), ConvertDeclSpecToType(), getSpecifierName(), and clang::Sema::ParsedFreeStandingDeclSpec().
const TST clang::DeclSpec::TST_unknown_anytype = clang::TST_unknown_anytype [static] |
Definition at line 266 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
const TST clang::DeclSpec::TST_unspecified = clang::TST_unspecified [static] |
Definition at line 241 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), getSpecifierName(), hasTypeSpecifier(), SetStorageClassSpec(), SetTypeAltiVecPixel(), SetTypeAltiVecVector(), and SetTypeSpecType().
const TST clang::DeclSpec::TST_void = clang::TST_void [static] |
Definition at line 242 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), and getSpecifierName().
const TST clang::DeclSpec::TST_wchar = clang::TST_wchar [static] |
Definition at line 244 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TSW clang::DeclSpec::TSW_long = clang::TSW_long [static] |
Definition at line 224 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), getSpecifierName(), and SetTypeSpecWidth().
const TSW clang::DeclSpec::TSW_longlong = clang::TSW_longlong [static] |
Definition at line 225 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), getSpecifierName(), and SetTypeSpecWidth().
const TSW clang::DeclSpec::TSW_short = clang::TSW_short [static] |
Definition at line 223 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), and getSpecifierName().
const TSW clang::DeclSpec::TSW_unspecified = clang::TSW_unspecified [static] |
Definition at line 222 of file DeclSpec.h.
Referenced by ConvertDeclSpecToType(), Finish(), getSpecifierName(), hasTypeSpecifier(), and SetTypeSpecWidth().
Definition at line 321 of file DeclSpec.h.
Referenced by getRepAsType(), SetTypeSpecType(), and UpdateTypeRep().