Doc: Reflect changes in the names of Clang checks

Update the text and screenshot accordingly.

Change-Id: I0f89d7fc02ab6195cdf9d3e64188f0097688e98b
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Leena Miettinen
2018-06-21 14:22:42 +02:00
parent 003f2ca5c7
commit a8cbc1c4da
2 changed files with 13 additions and 14 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

@@ -138,34 +138,33 @@
edit the value for the \uicontrol {Do not index files greater than} edit the value for the \uicontrol {Do not index files greater than}
check box. To index all files, deselect the check box. check box. To index all files, deselect the check box.
\li Select \uicontrol Manage to specify the level for requesting Clang \li Select \uicontrol Manage to specify the Clang checks to perform.
warnings.
\image qtcreator-diagnostics-configuration.png \image qtcreator-diagnostics-configuration.png
\endlist \endlist
\section1 Clang Warnings \section1 Clang Checks
The predefined configurations request Clang warnings at the following The predefined configurations perform the following Clang checks:
levels:
\list \list
\li \uicontrol {Pedantic Warnings} uses the \c -Wpendantic option that \li \uicontrol {Clang-only pedantic checks} uses the \c -Wpendantic
requests all the warnings demanded by strict ISO C and ISO C++. option that performs checks as required by strict ISO C and ISO C++.
\li \uicontrol {Warnings for Questionable Constructs} combines the \li \uicontrol {Clang-only checks for questionable constructs} combines
\c -Wall and \c -Wextra options to request all warnings about easily the \c -Wall and \c -Wextra checks for easily avoidable questionable
avoidable questionable constructions and some additional warnings. constructions and some additional issues.
\li \uicontrol {Warnings for Almost Everything} uses the \c -Weverything \li \uicontrol {Clang-only checks for almost everything} uses the
option with negative options to suppress some warnings. \c -Weverything option with negative options to suppress some
warnings.
\endlist \endlist
You can edit the predefined configurations to request specific warnings You can edit the predefined configurations to perform particular checks
beginning with \c -W. Each of these warnings also has a negative version beginning with \c -W. Each of these checks also has a negative version
that begins with \c -Wno. that begins with \c -Wno.
Keep in mind that some options turn on other options. For more information, Keep in mind that some options turn on other options. For more information,