Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseExprCXX.cpp1161 SourceLocation &ConstexprLoc, in tryConsumeLambdaSpecifierToken() argument
1166 assert(ConstexprLoc.isInvalid()); in tryConsumeLambdaSpecifierToken()
1193 ConsumeLocation(ConstexprLoc, 2); in tryConsumeLambdaSpecifierToken()
1221 addConstexprToLambdaDeclSpecifier(Parser &P, SourceLocation ConstexprLoc, in addConstexprToLambdaDeclSpecifier() argument
1223 if (ConstexprLoc.isValid()) { in addConstexprToLambdaDeclSpecifier()
1224 P.Diag(ConstexprLoc, !P.getLangOpts().CPlusPlus17 in addConstexprToLambdaDeclSpecifier()
1229 DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, ConstexprLoc, PrevSpec, in addConstexprToLambdaDeclSpecifier()
1385 SourceLocation ConstexprLoc; in ParseLambdaExpressionAfterIntroducer() local
1388 ConstexprLoc, ConstevalLoc, DeclEndLoc); in ParseLambdaExpressionAfterIntroducer()
1394 addConstexprToLambdaDeclSpecifier(*this, ConstexprLoc, DS); in ParseLambdaExpressionAfterIntroducer()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DDeclSpec.cpp1107 ConstexprLoc = Loc; in SetConstexprSpec()
1379 S.Diag(ConstexprLoc, diag::warn_cxx98_compat_constexpr); in Finish()
1381 S.Diag(ConstexprLoc, diag::warn_cxx20_compat_consteval); in Finish()
1383 S.Diag(ConstexprLoc, diag::warn_cxx20_compat_constinit); in Finish()
H A DSemaDeclCXX.cpp3402 SourceLocation ConstexprLoc = DS.getConstexprSpecLoc(); in ActOnCXXMemberDeclarator() local
3406 B << FixItHint::CreateRemoval(ConstexprLoc); in ActOnCXXMemberDeclarator()
3408 B << FixItHint::CreateReplacement(ConstexprLoc, "const"); in ActOnCXXMemberDeclarator()
3413 DeclSpec::TQ_const, ConstexprLoc, PrevSpec, DiagID, getLangOpts()); in ActOnCXXMemberDeclarator()
3422 *this, DeclSpec::SCS_static, ConstexprLoc, PrevSpec, DiagID, in ActOnCXXMemberDeclarator()
3428 B << 0 << FixItHint::CreateInsertion(ConstexprLoc, "static "); in ActOnCXXMemberDeclarator()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DDeclSpec.h404 SourceLocation FriendLoc, ModulePrivateLoc, ConstexprLoc; variable
781 SourceLocation getConstexprSpecLoc() const { return ConstexprLoc; } in getConstexprSpecLoc()
788 ConstexprLoc = SourceLocation(); in ClearConstexprSpec()