Lines Matching defs:StaticLoc
1235 SourceLocation &StaticLoc,
1240 assert(StaticLoc.isInvalid());
1265 ConsumeLocation(StaticLoc, 1);
1279 static void addStaticToLambdaDeclSpecifier(Parser &P, SourceLocation StaticLoc,
1281 if (StaticLoc.isValid()) {
1282 P.Diag(StaticLoc, !P.getLangOpts().CPlusPlus23
1287 DS.SetStorageClassSpec(P.getActions(), DeclSpec::SCS_static, StaticLoc,
1326 SourceLocation StaticLoc,
1329 if (StaticLoc.isInvalid())
1337 P.Diag(StaticLoc, diag::err_static_mutable_lambda);
1339 P.Diag(StaticLoc, diag::err_static_lambda_captures);
1511 SourceLocation StaticLoc;
1513 tryConsumeLambdaSpecifierToken(*this, MutableLoc, StaticLoc, ConstexprLoc,
1516 DiagnoseStaticSpecifierRestrictions(*this, StaticLoc, MutableLoc, Intro);
1518 addStaticToLambdaDeclSpecifier(*this, StaticLoc, DS);