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:
Tobias Hunger
2011-06-04 19:29:57 +02:00
parent 82272d9c22
commit f3bc321f76
2 changed files with 41 additions and 40 deletions

View File

@@ -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;
};