Lines Matching refs:DeclSpec
33 #include "clang/Sema/DeclSpec.h"
1934 const DeclSpec &DS = D.getDeclSpec();
1957 InvalidDecl = (DS.getStorageClassSpec() == DeclSpec::SCS_typedef) ? 0 : 1;
1960 else if (DS.getStorageClassSpec() == DeclSpec::SCS_static)
2000 case DeclSpec::SCS_unspecified:
2001 case DeclSpec::SCS_typedef:
2002 case DeclSpec::SCS_static:
2004 case DeclSpec::SCS_mutable:
2020 bool isInstField = ((DS.getStorageClassSpec() == DeclSpec::SCS_unspecified ||
2021 DS.getStorageClassSpec() == DeclSpec::SCS_mutable) &&
2030 if (D.getDeclSpec().getTypeQualifiers() & DeclSpec::TQ_const)
2038 DeclSpec::TQ_const, ConstexprLoc, PrevSpec, DiagID, getLangOpts());
2047 *this, DeclSpec::SCS_static, ConstexprLoc, PrevSpec, DiagID,
2049 assert(DS.getStorageClassSpec() == DeclSpec::SCS_mutable &&
2050 "This is the only DeclSpec that should fail to be applied");
2123 assert(InitStyle == ICIS_NoInit || D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_static);
2518 const DeclSpec &DS,
2534 const DeclSpec &DS,
2577 const DeclSpec &DS,
11744 Decl *Sema::ActOnFriendTypeDecl(Scope *S, const DeclSpec &DS,
11749 assert(DS.getStorageClassSpec() == DeclSpec::SCS_unspecified);
11815 const DeclSpec &DS = D.getDeclSpec();
11818 assert(DS.getStorageClassSpec() == DeclSpec::SCS_unspecified);
12477 assert(D.getDeclSpec().getStorageClassSpec() != DeclSpec::SCS_typedef &&
13088 if (DeclSpec::TSCS TSCS = D.getDeclSpec().getThreadStorageClassSpec())
13091 << DeclSpec::getSpecifierName(TSCS);