Lines Matching defs:StaticLoc
1248 SourceLocation &StaticLoc,
1253 assert(StaticLoc.isInvalid());
1278 ConsumeLocation(StaticLoc, 1);
1292 static void addStaticToLambdaDeclSpecifier(Parser &P, SourceLocation StaticLoc,
1294 if (StaticLoc.isValid()) {
1295 P.Diag(StaticLoc, !P.getLangOpts().CPlusPlus23
1300 DS.SetStorageClassSpec(P.getActions(), DeclSpec::SCS_static, StaticLoc,
1339 SourceLocation StaticLoc,
1342 if (StaticLoc.isInvalid())
1350 P.Diag(StaticLoc, diag::err_static_mutable_lambda);
1352 P.Diag(StaticLoc, diag::err_static_lambda_captures);
1528 SourceLocation StaticLoc;
1530 tryConsumeLambdaSpecifierToken(*this, MutableLoc, StaticLoc, ConstexprLoc,
1533 DiagnoseStaticSpecifierRestrictions(*this, StaticLoc, MutableLoc, Intro);
1535 addStaticToLambdaDeclSpecifier(*this, StaticLoc, DS);