From 0e125ba4f95a1413733d584af3c5a8d8026d1fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Tue, 6 Jun 2023 14:18:30 +0200 Subject: [PATCH] Update mapping between Apple Clang versions and upstream Clang For Xcode 14.0 and 14.3 Change-Id: Idd533e2d1f7b0feffa618ddf633165ce29043d5e Reviewed-by: Volker Hilsheimer (cherry picked from commit 18f966aed15ace0c958d0e391813e9ab80fb92c1) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/global/qcompilerdetection.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index 718b282d390..cf4872281ba 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -120,7 +120,11 @@ // 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__ >= 13160021 // Xcode 13.3 +# if __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 +# elif __apple_build_version__ >= 13160021 // Xcode 13.3 # define Q_CC_CLANG 1300 # elif __apple_build_version__ >= 13000029 // Xcode 13.0 # define Q_CC_CLANG 1200