summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/clangparser.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2011-06-04 19:29:57 +0200
committerTobias Hunger <tobias.hunger@nokia.com>2011-06-07 09:25:58 +0200
commitf3bc321f76ee855b7b68b3ad16540cf3146236bf (patch)
tree26b57c0d472305da2edf5efd0a7bde0a1415e8c3 /src/plugins/projectexplorer/clangparser.h
parent82272d9c22f362d00d00cd38eccd0f0660c33704 (diff)
downloadqt-creator-f3bc321f76ee855b7b68b3ad16540cf3146236bf.tar.gz
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>
Diffstat (limited to 'src/plugins/projectexplorer/clangparser.h')
-rw-r--r--src/plugins/projectexplorer/clangparser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/clangparser.h b/src/plugins/projectexplorer/clangparser.h
index b6cf5dc55d..6b624b33da 100644
--- a/src/plugins/projectexplorer/clangparser.h
+++ b/src/plugins/projectexplorer/clangparser.h
@@ -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;
};