Lines Matching refs:DeclSpec
684 SourceLocation Parser::ParseDecltypeSpecifier(DeclSpec &DS) { in ParseDecltypeSpecifier()
776 ? DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, PrevSpec, in ParseDecltypeSpecifier()
778 : DS.SetTypeSpecType(DeclSpec::TST_decltype_auto, StartLoc, PrevSpec, in ParseDecltypeSpecifier()
786 void Parser::AnnotateExistingDecltypeSpecifier(const DeclSpec& DS, in AnnotateExistingDecltypeSpecifier()
805 void Parser::ParseUnderlyingTypeSpecifier(DeclSpec &DS) { in ParseUnderlyingTypeSpecifier()
829 if (DS.SetTypeSpecType(DeclSpec::TST_underlyingType, StartLoc, PrevSpec, in ParseUnderlyingTypeSpecifier()
876 DeclSpec DS(AttrFactory); in ParseBaseTypeSpecifier()
966 DeclSpec DS(AttrFactory); in ParseBaseTypeSpecifier()
1106 SourceLocation StartLoc, DeclSpec &DS, in ParseClassSpecifier()
1111 DeclSpec::TST TagType; in ParseClassSpecifier()
1113 TagType = DeclSpec::TST_struct; in ParseClassSpecifier()
1115 TagType = DeclSpec::TST_interface; in ParseClassSpecifier()
1117 TagType = DeclSpec::TST_class; in ParseClassSpecifier()
1120 TagType = DeclSpec::TST_union; in ParseClassSpecifier()
1168 if (TagType == DeclSpec::TST_struct && in ParseClassSpecifier()
1235 << (TagType == DeclSpec::TST_class? 0 in ParseClassSpecifier()
1236 : TagType == DeclSpec::TST_struct? 1 in ParseClassSpecifier()
1237 : TagType == DeclSpec::TST_interface? 2 in ParseClassSpecifier()
1373 DeclSpec::getSpecifierName(TagType)); in ParseClassSpecifier()
1410 if (!Name && !TemplateId && (DS.getTypeSpecType() == DeclSpec::TST_error || in ParseClassSpecifier()
1412 if (DS.getTypeSpecType() != DeclSpec::TST_error) { in ParseClassSpecifier()
1415 << DeclSpec::getSpecifierName(TagType); in ParseClassSpecifier()
1607 Result = DS.SetTypeSpecType(DeclSpec::TST_typename, StartLoc, in ParseClassSpecifier()
1635 DeclSpec::getSpecifierName(TagType)); in ParseClassSpecifier()
2156 if (DS.getStorageClassSpec() == DeclSpec::SCS_typedef) { in ParseCXXClassMemberDeclaration()
2233 != DeclSpec::SCS_typedef) in ParseCXXClassMemberDeclaration()
2283 DeclSpec::SCS_static) { in ParseCXXClassMemberDeclaration()
2314 } else if (ThisDecl && DS.getStorageClassSpec() == DeclSpec::SCS_static) in ParseCXXClassMemberDeclaration()
2332 DeclSpec::SCS_typedef) in ParseCXXClassMemberDeclaration()
2456 assert((TagType == DeclSpec::TST_struct || in ParseCXXMemberSpecification()
2457 TagType == DeclSpec::TST_interface || in ParseCXXMemberSpecification()
2458 TagType == DeclSpec::TST_union || in ParseCXXMemberSpecification()
2459 TagType == DeclSpec::TST_class) && "Invalid TagType!"); in ParseCXXMemberSpecification()
2502 TagType == DeclSpec::TST_interface); in ParseCXXMemberSpecification()
2514 if (TagType == DeclSpec::TST_interface) { in ParseCXXMemberSpecification()
2554 if (TagType == DeclSpec::TST_class) in ParseCXXMemberSpecification()
2567 ParseMicrosoftIfExistsClassDeclaration((DeclSpec::TST)TagType, CurAS); in ParseCXXMemberSpecification()
2624 if (TagType == DeclSpec::TST_interface && CurAS != AS_public) { in ParseCXXMemberSpecification()
2791 DeclSpec DS(AttrFactory); in ParseMemInitializer()
3303 void Parser::ParseMicrosoftIfExistsClassDeclaration(DeclSpec::TST TagType, in ParseMicrosoftIfExistsClassDeclaration()
3333 ParseMicrosoftIfExistsClassDeclaration((DeclSpec::TST)TagType, CurAS); in ParseMicrosoftIfExistsClassDeclaration()