forked from qt-creator/qt-creator
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:
@@ -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",
|
||||||
|
@@ -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"},
|
||||||
|
Reference in New Issue
Block a user