forked from qt-creator/qt-creator
Clang: Improve parser
Do not pass on snippet lines to child parser where they might cause confusion. Change-Id: Ia30726842b0b0a4c2871c3b8e56539d9b79ccfd8 Reviewed-on: http://codereview.qt.nokia.com/343 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -45,6 +45,7 @@ class ClangParser : public ProjectExplorer::IOutputParser
|
||||
|
||||
public:
|
||||
ClangParser();
|
||||
~ClangParser();
|
||||
void stdError(const QString &line);
|
||||
|
||||
private:
|
||||
@@ -57,7 +58,7 @@ private:
|
||||
QRegExp m_inLineRegExp;
|
||||
QRegExp m_messageRegExp;
|
||||
QRegExp m_summaryRegExp;
|
||||
QString m_codeSnippet;
|
||||
bool m_expectSnippet;
|
||||
|
||||
Task m_currentTask;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user