clang: Do not keep tasks around too long

Change-Id: Ieb03e2ed3fa2ac54dede30107942666aee11d43c
Reviewed-on: http://codereview.qt.nokia.com/312
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-01 14:17:47 +00:00
parent 652454a832
commit 7572718ace
2 changed files with 18 additions and 10 deletions

View File

@@ -45,16 +45,18 @@ class ClangParser : public ProjectExplorer::IOutputParser
public:
ClangParser();
~ClangParser();
virtual void stdError(const QString &line);
void stdError(const QString &line);
private:
void newTask(Task::TaskType type_, const QString &description_,
const QString &file_, int line_, const QString &category_);
void emitTask();
QRegExp m_commandRegExp;
QRegExp m_inLineRegExp;
QRegExp m_messageRegExp;
QRegExp m_summaryRegExp;
QString m_codeSnippet;
Task m_currentTask;