CppTools: "CLANG-UPGRADE-CHECK: Update known language features macros."

Clang++ 11 has __cpp_constexpr_in_decltype

Change-Id: I450a79f2af8cd6aca51b95b11b3c06b9682c0418
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Alessandro Portale
2020-11-17 22:53:59 +01:00
parent ccf5daa16d
commit a1ff9d170f
2 changed files with 2 additions and 0 deletions

View File

@@ -580,6 +580,7 @@ static QStringList languageFeatureMacros()
"__cpp_binary_literals", "__cpp_binary_literals",
"__cpp_capture_star_this", "__cpp_capture_star_this",
"__cpp_constexpr", "__cpp_constexpr",
"__cpp_constexpr_in_decltype",
"__cpp_decltype", "__cpp_decltype",
"__cpp_decltype_auto", "__cpp_decltype_auto",
"__cpp_deduction_guides", "__cpp_deduction_guides",

View File

@@ -435,6 +435,7 @@ TEST_F(ProjectUpdater, ToolChainArgumentsMSVC)
QString{"-U__cpp_binary_literals"}, QString{"-U__cpp_binary_literals"},
QString{"-U__cpp_capture_star_this"}, QString{"-U__cpp_capture_star_this"},
QString{"-U__cpp_constexpr"}, QString{"-U__cpp_constexpr"},
QString{"-U__cpp_constexpr_in_decltype"},
QString{"-U__cpp_decltype"}, QString{"-U__cpp_decltype"},
QString{"-U__cpp_decltype_auto"}, QString{"-U__cpp_decltype_auto"},
QString{"-U__cpp_deduction_guides"}, QString{"-U__cpp_deduction_guides"},