Searched refs:ConstevalLoc (Results 1 – 2 of 2) sorted by relevance
| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | ParseExprCXX.cpp | 1162 SourceLocation &ConstevalLoc, in tryConsumeLambdaSpecifierToken() argument 1167 assert(ConstevalLoc.isInvalid()); in tryConsumeLambdaSpecifierToken() 1196 ConsumeLocation(ConstevalLoc, 3); in tryConsumeLambdaSpecifierToken() 1237 SourceLocation ConstevalLoc, in addConstevalToLambdaDeclSpecifier() argument 1239 if (ConstevalLoc.isValid()) { in addConstevalToLambdaDeclSpecifier() 1240 P.Diag(ConstevalLoc, diag::warn_cxx20_compat_consteval); in addConstevalToLambdaDeclSpecifier() 1243 DS.SetConstexprSpec(ConstexprSpecKind::Consteval, ConstevalLoc, PrevSpec, in addConstevalToLambdaDeclSpecifier() 1246 P.Diag(ConstevalLoc, DiagID) << PrevSpec; in addConstevalToLambdaDeclSpecifier() 1386 SourceLocation ConstevalLoc; in ParseLambdaExpressionAfterIntroducer() local 1388 ConstexprLoc, ConstevalLoc, DeclEndLoc); in ParseLambdaExpressionAfterIntroducer() [all …]
|
| H A D | ParseStmt.cpp | 1446 SourceLocation ConstevalLoc; in ParseIfStatement() local 1462 ConstevalLoc = ConsumeToken(); in ParseIfStatement() 1626 Diag(ConstevalLoc, diag::err_expected_after) << "consteval" in ParseIfStatement()
|