Searched refs:ConstexprLoc (Results 1 – 4 of 4) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExprCXX.cpp | 1162 SourceLocation &ConstexprLoc, in tryConsumeLambdaSpecifierToken() argument 1167 assert(ConstexprLoc.isInvalid()); in tryConsumeLambdaSpecifierToken() 1194 ConsumeLocation(ConstexprLoc, 2); in tryConsumeLambdaSpecifierToken() 1222 addConstexprToLambdaDeclSpecifier(Parser &P, SourceLocation ConstexprLoc, in addConstexprToLambdaDeclSpecifier() argument 1224 if (ConstexprLoc.isValid()) { in addConstexprToLambdaDeclSpecifier() 1225 P.Diag(ConstexprLoc, !P.getLangOpts().CPlusPlus17 in addConstexprToLambdaDeclSpecifier() 1230 DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, ConstexprLoc, PrevSpec, in addConstexprToLambdaDeclSpecifier() 1424 SourceLocation ConstexprLoc; in ParseLambdaExpressionAfterIntroducer() local 1428 tryConsumeLambdaSpecifierToken(*this, MutableLoc, StaticLoc, ConstexprLoc, in ParseLambdaExpressionAfterIntroducer() 1434 addConstexprToLambdaDeclSpecifier(*this, ConstexprLoc, DS); in ParseLambdaExpressionAfterIntroducer()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | DeclSpec.cpp | 1119 ConstexprLoc = Loc; in SetConstexprSpec() 1392 S.Diag(ConstexprLoc, diag::warn_cxx98_compat_constexpr); in Finish() 1394 S.Diag(ConstexprLoc, diag::warn_cxx20_compat_consteval); in Finish() 1396 S.Diag(ConstexprLoc, diag::warn_cxx20_compat_constinit); in Finish()
|
| H A D | SemaDeclCXX.cpp | 3542 SourceLocation ConstexprLoc = DS.getConstexprSpecLoc(); in ActOnCXXMemberDeclarator() local 3546 B << FixItHint::CreateRemoval(ConstexprLoc); in ActOnCXXMemberDeclarator() 3548 B << FixItHint::CreateReplacement(ConstexprLoc, "const"); in ActOnCXXMemberDeclarator() 3553 DeclSpec::TQ_const, ConstexprLoc, PrevSpec, DiagID, getLangOpts()); in ActOnCXXMemberDeclarator() 3562 *this, DeclSpec::SCS_static, ConstexprLoc, PrevSpec, DiagID, in ActOnCXXMemberDeclarator() 3568 B << 0 << FixItHint::CreateInsertion(ConstexprLoc, "static "); in ActOnCXXMemberDeclarator()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 420 SourceLocation FriendLoc, ModulePrivateLoc, ConstexprLoc; variable 797 SourceLocation getConstexprSpecLoc() const { return ConstexprLoc; } in getConstexprSpecLoc() 804 ConstexprLoc = SourceLocation(); in ClearConstexprSpec()
|