Lines Matching refs:DeclSpec
23 #include "clang/Sema/DeclSpec.h"
736 SourceLocation Parser::ParseDecltypeSpecifier(DeclSpec &DS) {
828 ? DS.SetTypeSpecType(DeclSpec::TST_decltype, StartLoc, PrevSpec,
830 : DS.SetTypeSpecType(DeclSpec::TST_decltype_auto, StartLoc, PrevSpec,
838 void Parser::AnnotateExistingDecltypeSpecifier(const DeclSpec& DS,
857 void Parser::ParseUnderlyingTypeSpecifier(DeclSpec &DS) {
881 if (DS.SetTypeSpecType(DeclSpec::TST_underlyingType, StartLoc, PrevSpec,
929 DeclSpec DS(AttrFactory);
1024 DeclSpec DS(AttrFactory);
1166 SourceLocation StartLoc, DeclSpec &DS,
1171 DeclSpec::TST TagType;
1173 TagType = DeclSpec::TST_struct;
1175 TagType = DeclSpec::TST_interface;
1177 TagType = DeclSpec::TST_class;
1180 TagType = DeclSpec::TST_union;
1231 if (TagType == DeclSpec::TST_struct && !Tok.is(tok::identifier) &&
1414 DeclSpec::getSpecifierName(TagType, PPol));
1451 if (!Name && !TemplateId && (DS.getTypeSpecType() == DeclSpec::TST_error ||
1453 if (DS.getTypeSpecType() != DeclSpec::TST_error) {
1456 << DeclSpec::getSpecifierName(TagType, Policy);
1646 Result = DS.SetTypeSpecType(DeclSpec::TST_typename, StartLoc,
1676 DeclSpec::getSpecifierName(TagType, PPol));
2245 if (DS.getStorageClassSpec() == DeclSpec::SCS_typedef) {
2289 != DeclSpec::SCS_typedef)
2334 DeclSpec::SCS_static) {
2365 } else if (ThisDecl && DS.getStorageClassSpec() == DeclSpec::SCS_static)
2383 DeclSpec::SCS_typedef)
2504 assert((TagType == DeclSpec::TST_struct ||
2505 TagType == DeclSpec::TST_interface ||
2506 TagType == DeclSpec::TST_union ||
2507 TagType == DeclSpec::TST_class) && "Invalid TagType!");
2550 TagType == DeclSpec::TST_interface);
2567 if (TagType == DeclSpec::TST_interface)
2610 if (TagType == DeclSpec::TST_class)
2623 ParseMicrosoftIfExistsClassDeclaration((DeclSpec::TST)TagType, CurAS);
2692 if (TagType == DeclSpec::TST_interface && CurAS != AS_public) {
2879 DeclSpec DS(AttrFactory);
3460 void Parser::ParseMicrosoftIfExistsClassDeclaration(DeclSpec::TST TagType,
3490 ParseMicrosoftIfExistsClassDeclaration((DeclSpec::TST)TagType, CurAS);