Home
last modified time | relevance | path

Searched refs:ConstexprLoc (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp1136 ConstexprLoc = Loc; in SetConstexprSpec()
1386 S.Diag(ConstexprLoc, diag::err_invalid_decl_spec_combination) in Finish()
1395 S.Diag(ConstexprLoc, diag::err_invalid_decl_spec_combination) in Finish()
1426 S.Diag(ConstexprLoc, diag::warn_cxx98_compat_constexpr); in Finish()
1428 S.Diag(ConstexprLoc, diag::warn_cxx20_compat_consteval); in Finish()
1430 S.Diag(ConstexprLoc, diag::warn_cxx20_compat_constinit); in Finish()
H A DSemaDeclCXX.cpp3419 SourceLocation ConstexprLoc = DS.getConstexprSpecLoc(); in ActOnCXXMemberDeclarator() local
3423 B << FixItHint::CreateRemoval(ConstexprLoc); in ActOnCXXMemberDeclarator()
3425 B << FixItHint::CreateReplacement(ConstexprLoc, "const"); in ActOnCXXMemberDeclarator()
3430 DeclSpec::TQ_const, ConstexprLoc, PrevSpec, DiagID, getLangOpts()); in ActOnCXXMemberDeclarator()
3439 *this, DeclSpec::SCS_static, ConstexprLoc, PrevSpec, DiagID, in ActOnCXXMemberDeclarator()
3445 B << 0 << FixItHint::CreateInsertion(ConstexprLoc, "static "); in ActOnCXXMemberDeclarator()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExprCXX.cpp1236 SourceLocation &ConstexprLoc, in tryConsumeLambdaSpecifierToken() argument
1241 assert(ConstexprLoc.isInvalid()); in tryConsumeLambdaSpecifierToken()
1268 ConsumeLocation(ConstexprLoc, 2); in tryConsumeLambdaSpecifierToken()
1296 addConstexprToLambdaDeclSpecifier(Parser &P, SourceLocation ConstexprLoc, in addConstexprToLambdaDeclSpecifier() argument
1298 if (ConstexprLoc.isValid()) { in addConstexprToLambdaDeclSpecifier()
1299 P.Diag(ConstexprLoc, !P.getLangOpts().CPlusPlus17 in addConstexprToLambdaDeclSpecifier()
1304 DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, ConstexprLoc, PrevSpec, in addConstexprToLambdaDeclSpecifier()
1509 SourceLocation ConstexprLoc; in ParseLambdaExpressionAfterIntroducer() local
1513 tryConsumeLambdaSpecifierToken(*this, MutableLoc, StaticLoc, ConstexprLoc, in ParseLambdaExpressionAfterIntroducer()
1519 addConstexprToLambdaDeclSpecifier(*this, ConstexprLoc, DS); in ParseLambdaExpressionAfterIntroducer()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h442 SourceLocation FriendLoc, ModulePrivateLoc, ConstexprLoc; variable
833 SourceLocation getConstexprSpecLoc() const { return ConstexprLoc; } in getConstexprSpecLoc()
840 ConstexprLoc = SourceLocation(); in ClearConstexprSpec()