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 <thiago.macieira@intel.com>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
This commit is contained in:
Friedemann Kleint 2021-12-08 16:22:56 +01:00
parent 4f53c703e4
commit f6cbb1ae70

View File

@ -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