Clang: Add diagnostics

Diagnostics are now moved to the clang backend process. Fixits are
supported too.

Change-Id: I20faacf466bbf78dec479220c3d7b336a47bc453
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Marco Bubke
2015-08-31 16:28:26 +02:00
parent 8dfa9a5dab
commit b278dc87ca
84 changed files with 3633 additions and 132 deletions

View File

@@ -391,7 +391,7 @@ protected:
else
format.setUnderlineColor(Qt::red);
format.setUnderlineStyle(QTextCharFormat::WaveUnderline);
format.setUnderlineStyle(QTextCharFormat::SingleUnderline);
format.setToolTip(d.message);
collectRanges(begin, length, format);
@@ -428,7 +428,7 @@ protected:
else if (d.severity == Severity::Hint)
format.setUnderlineColor(Qt::darkGreen);
format.setUnderlineStyle(QTextCharFormat::WaveUnderline);
format.setUnderlineStyle(QTextCharFormat::SingleUnderline);
format.setToolTip(d.message);
collectRanges(begin, length, format);