Lines Matching refs:DeclSpec

763 SourceLocation Parser::ParseDecltypeSpecifier(DeclSpec &DS) {  in ParseDecltypeSpecifier()
858 ? DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, PrevSpec, in ParseDecltypeSpecifier()
860 : DS.SetTypeSpecType(DeclSpec::TST_decltype_auto, StartLoc, PrevSpec, in ParseDecltypeSpecifier()
868 void Parser::AnnotateExistingDecltypeSpecifier(const DeclSpec& DS, in AnnotateExistingDecltypeSpecifier()
887 void Parser::ParseUnderlyingTypeSpecifier(DeclSpec &DS) { in ParseUnderlyingTypeSpecifier()
911 if (DS.SetTypeSpecType(DeclSpec::TST_underlyingType, StartLoc, PrevSpec, in ParseUnderlyingTypeSpecifier()
959 DeclSpec DS(AttrFactory); in ParseBaseTypeSpecifier()
1053 DeclSpec DS(AttrFactory); in ParseBaseTypeSpecifier()
1214 SourceLocation StartLoc, DeclSpec &DS, in ParseClassSpecifier()
1219 DeclSpec::TST TagType; in ParseClassSpecifier()
1221 TagType = DeclSpec::TST_struct; in ParseClassSpecifier()
1223 TagType = DeclSpec::TST_interface; in ParseClassSpecifier()
1225 TagType = DeclSpec::TST_class; in ParseClassSpecifier()
1228 TagType = DeclSpec::TST_union; in ParseClassSpecifier()
1272 if (TagType == DeclSpec::TST_struct && in ParseClassSpecifier()
1358 TagType == DeclSpec::TST_struct; in ParseClassSpecifier()
1545 DeclSpec::getSpecifierName(TagType, PPol)); in ParseClassSpecifier()
1582 if (!Name && !TemplateId && (DS.getTypeSpecType() == DeclSpec::TST_error || in ParseClassSpecifier()
1584 if (DS.getTypeSpecType() != DeclSpec::TST_error) { in ParseClassSpecifier()
1587 << DeclSpec::getSpecifierName(TagType, Policy); in ParseClassSpecifier()
1785 Result = DS.SetTypeSpecType(DeclSpec::TST_typename, StartLoc, in ParseClassSpecifier()
1819 DeclSpec::getSpecifierName(TagType, PPol)); in ParseClassSpecifier()
2165 DeclSpec DS(AttrFactory); in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2174 if (DS.getTypeQualifiers() != DeclSpec::TQ_unspecified) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2175 auto DeclSpecCheck = [&] (DeclSpec::TQ TypeQual, in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2195 DeclSpecCheck(DeclSpec::TQ_const, "const", DS.getConstSpecLoc(), in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2197 DeclSpecCheck(DeclSpec::TQ_volatile, "volatile", DS.getVolatileSpecLoc(), in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2199 DeclSpecCheck(DeclSpec::TQ_restrict, "restrict", DS.getRestrictSpecLoc(), in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2521 if (DS.getStorageClassSpec() == DeclSpec::SCS_typedef) { in ParseCXXClassMemberDeclaration()
2568 DeclSpec::SCS_static && in ParseCXXClassMemberDeclaration()
2570 DeclSpec::SCS_typedef && in ParseCXXClassMemberDeclaration()
2619 DeclSpec::SCS_static) { in ParseCXXClassMemberDeclaration()
2658 } else if (ThisDecl && DS.getStorageClassSpec() == DeclSpec::SCS_static) in ParseCXXClassMemberDeclaration()
2676 DeclSpec::SCS_typedef) in ParseCXXClassMemberDeclaration()
2814 TagType == DeclSpec::TST_interface); in SkipCXXMemberSpecification()
2844 DeclSpec::TST TagType, Decl *TagDecl) { in ParseCXXClassMemberDeclarationWithPragmas()
2916 if (TagType == DeclSpec::TST_interface && AS != AS_public) { in ParseCXXClassMemberDeclarationWithPragmas()
2947 assert((TagType == DeclSpec::TST_struct || in ParseCXXMemberSpecification()
2948 TagType == DeclSpec::TST_interface || in ParseCXXMemberSpecification()
2949 TagType == DeclSpec::TST_union || in ParseCXXMemberSpecification()
2950 TagType == DeclSpec::TST_class) && "Invalid TagType!"); in ParseCXXMemberSpecification()
2987 TagType == DeclSpec::TST_interface); in ParseCXXMemberSpecification()
3004 if (TagType == DeclSpec::TST_interface) in ParseCXXMemberSpecification()
3090 if (TagType == DeclSpec::TST_class) in ParseCXXMemberSpecification()
3102 CurAS, AccessAttrs, static_cast<DeclSpec::TST>(TagType), TagDecl); in ParseCXXMemberSpecification()
3281 DeclSpec DS(AttrFactory); in ParseMemInitializer()
3940 void Parser::ParseMicrosoftIfExistsClassDeclaration(DeclSpec::TST TagType, in ParseMicrosoftIfExistsClassDeclaration()
3970 ParseMicrosoftIfExistsClassDeclaration((DeclSpec::TST)TagType, CurAS); in ParseMicrosoftIfExistsClassDeclaration()