diff options
author | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-10-13 11:52:05 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> | 2015-10-21 08:46:30 +0000 |
commit | 114261dc84d01106f73910bd33149b9dc17e56ec (patch) | |
tree | 1ff326911d18b13f756b2c2f83572fd6883a2ffa | |
parent | 9c72a345561163fd88e634071b3dc6e4e43c17fd (diff) | |
download | qt-creator-114261dc84d01106f73910bd33149b9dc17e56ec.tar.gz |
Doc: Clarify the setup of Clang Static Analyzer
* Do not invoke the impression that the user has to download/configure a
clang.
* State explicitly that only the shipped version is known to work.
Change-Id: I89ad346c2228ac6990a1932586ef2ad556f49379
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
-rw-r--r-- | doc/src/analyze/creator-clang-static-analyzer.qdoc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/src/analyze/creator-clang-static-analyzer.qdoc b/doc/src/analyze/creator-clang-static-analyzer.qdoc index 69ec1abc77..831039fd74 100644 --- a/doc/src/analyze/creator-clang-static-analyzer.qdoc +++ b/doc/src/analyze/creator-clang-static-analyzer.qdoc @@ -50,11 +50,15 @@ \section1 Setting Up Clang Static Analyzer - You must have Clang installed to use the Clang Static Analyzer. On Windows, - Clang version 3.6, or later, is required to use the MSVC tool chain. + As a tested version of Clang is shipped together with Qt Creator, no manual + setup is required. - To set up the Clang Static Analyzer, select \uicontrol Tools > - \uicontrol Options > \uicontrol Analyzer > + To profit from improved checkers in newer Clang versions, \QC can be set up + to use those. However, only the shipped version of Clang is tested and known + to work. Other versions might not work at all. + + To set up a particular Clang version for the Clang Static Analyzer, select + \uicontrol Tools > \uicontrol Options > \uicontrol Analyzer > \uicontrol {Clang Static Analyzer} and check that the path to the Clang executable is set correctly in the \uicontrol {Clang executable} field. |