Clang: Warn of potentially expensive checks

...for the code model.

If a diagnostic configuration with potentially expensive checks is
selected in Options/Preferences > C++ > Code Model, show a warning below
the combo box.

Change-Id: I52c5c2e229fd50c0fd82f70154fb5b727726ba31
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Nikolai Kosjar
2019-01-10 11:38:06 +01:00
parent f8aad27a88
commit ae0d895d96
4 changed files with 71 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ class ClangToolsOptionsPage : public Core::IOptionsPage
public:
explicit ClangToolsOptionsPage()
{
setId("Analyzer.ClangTools.Settings");
setId(Constants::SETTINGS_PAGE_ID);
setDisplayName(QCoreApplication::translate(
"ClangTools::Internal::ClangToolsOptionsPage",
"Clang Tools"));