Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp3034 std::string SuitableSpelling; in diagnoseMissingConstinit() local
3036 SuitableSpelling = std::string( in diagnoseMissingConstinit()
3038 if (SuitableSpelling.empty() && S.getLangOpts().CPlusPlus11) in diagnoseMissingConstinit()
3039 SuitableSpelling = std::string(S.PP.getLastMacroWithSpelling( in diagnoseMissingConstinit()
3044 if (SuitableSpelling.empty()) in diagnoseMissingConstinit()
3045 SuitableSpelling = std::string(S.PP.getLastMacroWithSpelling( in diagnoseMissingConstinit()
3049 if (SuitableSpelling.empty() && S.getLangOpts().CPlusPlus20) in diagnoseMissingConstinit()
3050 SuitableSpelling = "constinit"; in diagnoseMissingConstinit()
3051 if (SuitableSpelling.empty() && S.getLangOpts().CPlusPlus11) in diagnoseMissingConstinit()
3052 SuitableSpelling = "[[clang::require_constant_initialization]]"; in diagnoseMissingConstinit()
[all …]