diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2018-06-21 14:22:42 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2018-06-21 12:44:13 +0000 |
commit | a8cbc1c4da3ee82dbbe242ea722cde1b600d9d99 (patch) | |
tree | 5388dad10ca9be3ce0b4bb6a98eba66d2b314991 /doc | |
parent | 003f2ca5c777b90b81d9902168b615eee382481e (diff) |
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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/images/qtcreator-diagnostics-configuration.png | bin | 48327 -> 63236 bytes | |||
-rw-r--r-- | doc/src/editors/creator-clang-codemodel.qdoc | 27 |
2 files changed, 13 insertions, 14 deletions
diff --git a/doc/images/qtcreator-diagnostics-configuration.png b/doc/images/qtcreator-diagnostics-configuration.png Binary files differindex 394a89e646..f786f23804 100644 --- a/doc/images/qtcreator-diagnostics-configuration.png +++ b/doc/images/qtcreator-diagnostics-configuration.png diff --git a/doc/src/editors/creator-clang-codemodel.qdoc b/doc/src/editors/creator-clang-codemodel.qdoc index c15717b956..60b5be29b6 100644 --- a/doc/src/editors/creator-clang-codemodel.qdoc +++ b/doc/src/editors/creator-clang-codemodel.qdoc @@ -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, |