Searched refs:SuitableSpelling (Results 1 – 1 of 1) sorted by relevance
3034 std::string SuitableSpelling; in diagnoseMissingConstinit() local3036 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 …]