qcompilerdetection.h: detect Coverity
Just to persist the knowledge of how to detect it for the next guy. Pick-to: 6.4 6.2 5.15 Change-Id: I16847d02ce60fab0ae14ffb2688f2ee92fa6a9f2 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
This commit is contained in:
parent
306f1af145
commit
16dbbc8f8c
@ -20,6 +20,7 @@
|
||||
/*
|
||||
The compiler, must be one of: (Q_CC_x)
|
||||
|
||||
COVERITY - Coverity cov-scan
|
||||
SYM - Digital Mars C/C++ (used to be Symantec C++)
|
||||
MSVC - Microsoft Visual C/C++, Intel C++ for Windows
|
||||
BOR - Borland/Turbo C++
|
||||
@ -46,6 +47,10 @@
|
||||
Should be sorted most to least authoritative.
|
||||
*/
|
||||
|
||||
#if defined(__COVERITY__)
|
||||
# define Q_CC_COVERITY
|
||||
#endif
|
||||
|
||||
/* Symantec C++ is now Digital Mars */
|
||||
#if defined(__DMC__) || defined(__SC__)
|
||||
# define Q_CC_SYM
|
||||
|
Loading…
x
Reference in New Issue
Block a user