qcompilerdetection.h: detect Coverity
Just to persist the knowledge of how to detect it for the next guy. 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> (cherry picked from commit 16dbbc8f8c93f28194b8b440b9616119ea2f7b45) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
3868f2fa5d
commit
1df7efe377
@ -12,6 +12,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++
|
||||
@ -38,6 +39,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