[clang] Bump __cpp_constexpr in accordance with P2493R0
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for the patch. However, wg21.link/P0848 need to be fully implemented before we can update __cpp_concepts. Could you only modify __cpp_constexpr ? Thanks
clang-format: please reformat the code
- Builder.defineMacro("__cpp_constexpr", - LangOpts.CPlusPlus20 ? "202110L" : - LangOpts.CPlusPlus17 ? "201603L" : - LangOpts.CPlusPlus14 ? "201304L" : "200704"); + Builder.defineMacro("__cpp_constexpr", LangOpts.CPlusPlus20 ? "202110L" + : LangOpts.CPlusPlus17 ? "201603L" + : LangOpts.CPlusPlus14 ? "201304L" + : "200704");