Searched refs:ConstexprLoc (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseExprCXX.cpp | 1034 SourceLocation &ConstexprLoc, in tryConsumeMutableOrConstexprToken() argument 1037 assert(ConstexprLoc.isInvalid()); in tryConsumeMutableOrConstexprToken() 1055 if (ConstexprLoc.isValid()) { in tryConsumeMutableOrConstexprToken() 1060 ConstexprLoc = P.ConsumeToken(); in tryConsumeMutableOrConstexprToken() 1061 DeclEndLoc = ConstexprLoc; in tryConsumeMutableOrConstexprToken() 1072 if (ConstexprLoc.isValid()) { in addConstexprToLambdaDeclSpecifier() 1073 P.Diag(ConstexprLoc, !P.getLangOpts().CPlusPlus17 in addConstexprToLambdaDeclSpecifier() 1078 DS.SetConstexprSpec(ConstexprLoc, PrevSpec, DiagID); in addConstexprToLambdaDeclSpecifier() 1162 SourceLocation ConstexprLoc; in ParseLambdaExpressionAfterIntroducer() local 1163 tryConsumeMutableOrConstexprToken(*this, MutableLoc, ConstexprLoc, in ParseLambdaExpressionAfterIntroducer() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 398 SourceLocation FriendLoc, ModulePrivateLoc, ConstexprLoc; variable 728 SourceLocation getConstexprSpecLoc() const { return ConstexprLoc; } in getConstexprSpecLoc() 732 ConstexprLoc = SourceLocation(); in ClearConstexprSpec()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | DeclSpec.cpp | 1017 ConstexprLoc = Loc; in SetConstexprSpec() 1260 S.Diag(ConstexprLoc, diag::warn_cxx98_compat_constexpr); in Finish()
|
| H A D | SemaDeclCXX.cpp | 3033 SourceLocation ConstexprLoc = DS.getConstexprSpecLoc(); in ActOnCXXMemberDeclarator() local 3037 B << FixItHint::CreateRemoval(ConstexprLoc); in ActOnCXXMemberDeclarator() 3039 B << FixItHint::CreateReplacement(ConstexprLoc, "const"); in ActOnCXXMemberDeclarator() 3044 DeclSpec::TQ_const, ConstexprLoc, PrevSpec, DiagID, getLangOpts()); in ActOnCXXMemberDeclarator() 3053 *this, DeclSpec::SCS_static, ConstexprLoc, PrevSpec, DiagID, in ActOnCXXMemberDeclarator() 3059 B << 0 << FixItHint::CreateInsertion(ConstexprLoc, "static "); in ActOnCXXMemberDeclarator()
|