diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2011-06-01 14:17:47 +0000 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2011-06-01 16:25:30 +0200 |
commit | 7572718acec51f693e5139eabe309fdfba609873 (patch) | |
tree | 79206988a2786670243a63ae9ecb993721658a2a /src/plugins/projectexplorer/clangparser.h | |
parent | 652454a8324ce60f2b23a06eb74c38bd4afcfde3 (diff) | |
download | qt-creator-7572718acec51f693e5139eabe309fdfba609873.tar.gz |
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>
Diffstat (limited to 'src/plugins/projectexplorer/clangparser.h')
-rw-r--r-- | src/plugins/projectexplorer/clangparser.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/clangparser.h b/src/plugins/projectexplorer/clangparser.h index b5ca20ab79..b6cf5dc55d 100644 --- a/src/plugins/projectexplorer/clangparser.h +++ b/src/plugins/projectexplorer/clangparser.h @@ -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; |