Clang: Update info bar hint

We use CXTranslationUnit_KeepGoing, so errors in headers will not lead
to the expensive regeneration of the preamble on each reparse. Adapt the
info bar hint.

Change-Id: I340a1f862473f1b3aec0718bb5a2940fff0a91ed
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
Nikolai Kosjar
2018-03-29 12:24:12 +02:00
parent e5610c6ae2
commit 54e82eca80

View File

@@ -167,7 +167,7 @@ void MinimizableInfoBars::addHeaderErrorEntry(const Id &id,
const DiagnosticWidgetCreator &diagnosticWidgetCreator)
{
const QString text = tr("<b>Warning</b>: The code model could not parse an included file, "
"which might lead to slow or incorrect code completion and "
"which might lead to incorrect code completion and "
"highlighting, for example.");
InfoBarEntry info = createMinimizableInfo(id, text, []() {