From 0dddac9add43cd0632e658f27fd5cbe78c07de40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Fri, 2 May 2025 12:13:20 +0200 Subject: [PATCH] Update Apple Clang/LLVM version mapping Pick-to: 6.8 6.5 Change-Id: I4d79b44f440a70ce650240f3c16519aa4964094f Reviewed-by: Volker Hilsheimer (cherry picked from commit bfd844a42c5907640e3e79cc6511cf0d878b68e1) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/global/qcompilerdetection.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index 3d85f711ea0..3aab6ec30b0 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -124,7 +124,13 @@ // define to verify the Clang version we hard-code the versions // based on the best available info we have about the actual // version: http://en.wikipedia.org/wiki/Xcode#Toolchain_Versions -# if __apple_build_version__ >= 14030022 // Xcode 14.3 +# if __apple_build_version__ >= 17000013 // Xcode 16.3 +# define Q_CC_CLANG 1914 +# elif __apple_build_version__ >= 16000026 // Xcode 16.0 +# define Q_CC_CLANG 1706 +# elif __apple_build_version__ >= 15000040 // Xcode 15.0 +# define Q_CC_CLANG 1600 +# elif __apple_build_version__ >= 14030022 // Xcode 14.3 # define Q_CC_CLANG 1500 # elif __apple_build_version__ >= 14000029 // Xcode 14.0 # define Q_CC_CLANG 1400