From f6cbb1ae70d6edf10d3b583dde861b97bb9b9389 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 8 Dec 2021 16:22:56 +0100 Subject: [PATCH] Re-enable parsing Qt code with LLVM (Qt for Python) Exclude the check introduced by 0dc6cc055174a0556f2e41ca269013b3a7056c86 for clang compilers since there seems to be no equivalent option -permissive- for the MSVC emulation. Change-Id: I0468d8e2f2c988e604be6960f1b1f4760ea0c400 Reviewed-by: Thiago Macieira Reviewed-by: Cristian Maureira-Fredes --- src/corelib/global/qglobal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 25002efdca7..0ec3bbcb851 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -97,7 +97,7 @@ # endif #endif // __cplusplus -#if defined(__cplusplus) && defined(Q_CC_MSVC) +#if defined(__cplusplus) && defined(Q_CC_MSVC) && !defined(Q_CC_CLANG) // On MSVC we require /permissive- set by user code. Check that we are // under its rules -- for instance, check that std::nullptr_t->bool is // not an implicit conversion, as per