From a1ff9d170f97a5e812b365b4b82b4d8cde638807 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Tue, 17 Nov 2020 22:53:59 +0100 Subject: CppTools: "CLANG-UPGRADE-CHECK: Update known language features macros." Clang++ 11 has __cpp_constexpr_in_decltype Change-Id: I450a79f2af8cd6aca51b95b11b3c06b9682c0418 Reviewed-by: Christian Kandeler --- src/plugins/cpptools/compileroptionsbuilder.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/cpptools/compileroptionsbuilder.cpp') diff --git a/src/plugins/cpptools/compileroptionsbuilder.cpp b/src/plugins/cpptools/compileroptionsbuilder.cpp index 246298d98c..23837a8d0c 100644 --- a/src/plugins/cpptools/compileroptionsbuilder.cpp +++ b/src/plugins/cpptools/compileroptionsbuilder.cpp @@ -580,6 +580,7 @@ static QStringList languageFeatureMacros() "__cpp_binary_literals", "__cpp_capture_star_this", "__cpp_constexpr", + "__cpp_constexpr_in_decltype", "__cpp_decltype", "__cpp_decltype_auto", "__cpp_deduction_guides", -- cgit v1.2.1