Lines Matching refs:DeclSpec

938 SourceLocation Parser::ParseDecltypeSpecifier(DeclSpec &DS) {  in ParseDecltypeSpecifier()
1034 ? DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, PrevSpec, in ParseDecltypeSpecifier()
1036 : DS.SetTypeSpecType(DeclSpec::TST_decltype_auto, StartLoc, PrevSpec, in ParseDecltypeSpecifier()
1044 void Parser::AnnotateExistingDecltypeSpecifier(const DeclSpec& DS, in AnnotateExistingDecltypeSpecifier()
1071 void Parser::ParseUnderlyingTypeSpecifier(DeclSpec &DS) { in ParseUnderlyingTypeSpecifier()
1095 if (DS.SetTypeSpecType(DeclSpec::TST_underlyingType, StartLoc, PrevSpec, in ParseUnderlyingTypeSpecifier()
1146 DeclSpec DS(AttrFactory); in ParseBaseTypeSpecifier()
1232 DeclSpec DS(AttrFactory); in ParseBaseTypeSpecifier()
1398 SourceLocation StartLoc, DeclSpec &DS, in ParseClassSpecifier()
1403 DeclSpec::TST TagType; in ParseClassSpecifier()
1405 TagType = DeclSpec::TST_struct; in ParseClassSpecifier()
1407 TagType = DeclSpec::TST_interface; in ParseClassSpecifier()
1409 TagType = DeclSpec::TST_class; in ParseClassSpecifier()
1412 TagType = DeclSpec::TST_union; in ParseClassSpecifier()
1456 if (TagType == DeclSpec::TST_struct && in ParseClassSpecifier()
1543 TagType == DeclSpec::TST_struct; in ParseClassSpecifier()
1751 DeclSpec::getSpecifierName(TagType, PPol)); in ParseClassSpecifier()
1788 if (!Name && !TemplateId && (DS.getTypeSpecType() == DeclSpec::TST_error || in ParseClassSpecifier()
1790 if (DS.getTypeSpecType() != DeclSpec::TST_error) { in ParseClassSpecifier()
1793 << DeclSpec::getSpecifierName(TagType, Policy); in ParseClassSpecifier()
1993 Result = DS.SetTypeSpecType(DeclSpec::TST_typename, StartLoc, in ParseClassSpecifier()
2027 DeclSpec::getSpecifierName(TagType, PPol)); in ParseClassSpecifier()
2395 DeclSpec DS(AttrFactory); in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2408 if (DS.getTypeQualifiers() != DeclSpec::TQ_unspecified) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2409 auto DeclSpecCheck = [&](DeclSpec::TQ TypeQual, StringRef FixItName, in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2766 if (DS.getStorageClassSpec() == DeclSpec::SCS_typedef) { in ParseCXXClassMemberDeclaration()
2815 DeclSpec::SCS_static && in ParseCXXClassMemberDeclaration()
2817 DeclSpec::SCS_typedef && in ParseCXXClassMemberDeclaration()
2870 DeclSpec::SCS_static) { in ParseCXXClassMemberDeclaration()
2908 } else if (ThisDecl && DS.getStorageClassSpec() == DeclSpec::SCS_static) in ParseCXXClassMemberDeclaration()
2926 DeclSpec::SCS_typedef) in ParseCXXClassMemberDeclaration()
3068 TagType == DeclSpec::TST_interface); in SkipCXXMemberSpecification()
3098 DeclSpec::TST TagType, Decl *TagDecl) { in ParseCXXClassMemberDeclarationWithPragmas()
3171 if (TagType == DeclSpec::TST_interface && AS != AS_public) { in ParseCXXClassMemberDeclarationWithPragmas()
3190 << DeclSpec::getSpecifierName(TagType, in ParseCXXClassMemberDeclarationWithPragmas()
3209 assert((TagType == DeclSpec::TST_struct || in ParseCXXMemberSpecification()
3210 TagType == DeclSpec::TST_interface || in ParseCXXMemberSpecification()
3211 TagType == DeclSpec::TST_union || in ParseCXXMemberSpecification()
3212 TagType == DeclSpec::TST_class) && "Invalid TagType!"); in ParseCXXMemberSpecification()
3255 TagType == DeclSpec::TST_interface); in ParseCXXMemberSpecification()
3273 if (TagType == DeclSpec::TST_interface) in ParseCXXMemberSpecification()
3364 if (TagType == DeclSpec::TST_class) in ParseCXXMemberSpecification()
3376 CurAS, AccessAttrs, static_cast<DeclSpec::TST>(TagType), TagDecl); in ParseCXXMemberSpecification()
3554 DeclSpec DS(AttrFactory); in ParseMemInitializer()
4451 DeclSpec::TST TagType, ParsedAttributes &AccessAttrs, in ParseMicrosoftIfExistsClassDeclaration()