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

@@ -65,6 +65,20 @@ TextMark::~TextMark()
m_baseTextDocument = 0;
}
TextMark::TextMark(TextMark &&other)
: m_baseTextDocument(std::move(other.m_baseTextDocument)),
m_fileName(std::move(other.m_fileName)),
m_lineNumber(std::move(other.m_lineNumber)),
m_priority(std::move(other.m_priority)),
m_visible(std::move(other.m_visible)),
m_icon(std::move(other.m_icon)),
m_color(std::move(other.m_color)),
m_category(std::move(other.m_category)),
m_widthFactor(std::move(other.m_widthFactor))
{
other.m_baseTextDocument = nullptr;
}
QString TextMark::fileName() const
{
return m_fileName;