Searched refs:ConstexprLoc (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Parse/ |
D | ParseExprCXX.cpp | 1058 SourceLocation &ConstexprLoc, in tryConsumeMutableOrConstexprToken() argument 1061 assert(ConstexprLoc.isInvalid()); in tryConsumeMutableOrConstexprToken() 1079 if (ConstexprLoc.isValid()) { in tryConsumeMutableOrConstexprToken() 1084 ConstexprLoc = P.ConsumeToken(); in tryConsumeMutableOrConstexprToken() 1085 DeclEndLoc = ConstexprLoc; in tryConsumeMutableOrConstexprToken() 1094 addConstexprToLambdaDeclSpecifier(Parser &P, SourceLocation ConstexprLoc, in addConstexprToLambdaDeclSpecifier() argument 1096 if (ConstexprLoc.isValid()) { in addConstexprToLambdaDeclSpecifier() 1097 P.Diag(ConstexprLoc, !P.getLangOpts().CPlusPlus1z in addConstexprToLambdaDeclSpecifier() 1102 DS.SetConstexprSpec(ConstexprLoc, PrevSpec, DiagID); in addConstexprToLambdaDeclSpecifier() 1168 SourceLocation ConstexprLoc; in ParseLambdaExpressionAfterIntroducer() local [all …]
|
/external/clang/include/clang/Sema/ |
D | DeclSpec.h | 394 SourceLocation FriendLoc, ModulePrivateLoc, ConstexprLoc, ConceptLoc; variable 707 SourceLocation getConstexprSpecLoc() const { return ConstexprLoc; } in getConstexprSpecLoc() 714 ConstexprLoc = SourceLocation(); in ClearConstexprSpec()
|
/external/clang/lib/Sema/ |
D | DeclSpec.cpp | 917 ConstexprLoc = Loc; in SetConstexprSpec() 1166 S.Diag(ConstexprLoc, diag::warn_cxx98_compat_constexpr); in Finish()
|
D | SemaDeclCXX.cpp | 2102 SourceLocation ConstexprLoc = DS.getConstexprSpecLoc(); in ActOnCXXMemberDeclarator() local 2106 B << FixItHint::CreateRemoval(ConstexprLoc); in ActOnCXXMemberDeclarator() 2108 B << FixItHint::CreateReplacement(ConstexprLoc, "const"); in ActOnCXXMemberDeclarator() 2113 DeclSpec::TQ_const, ConstexprLoc, PrevSpec, DiagID, getLangOpts()); in ActOnCXXMemberDeclarator() 2122 *this, DeclSpec::SCS_static, ConstexprLoc, PrevSpec, DiagID, in ActOnCXXMemberDeclarator() 2128 B << 0 << FixItHint::CreateInsertion(ConstexprLoc, "static "); in ActOnCXXMemberDeclarator()
|