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