summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/linuxiccparser.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2010-09-15 13:55:01 +0200
committerTobias Hunger <tobias.hunger@nokia.com>2010-09-15 14:46:33 +0200
commit0204ef21f57b87b6e1957d5c9babf3779a6eecd3 (patch)
tree8308eedaaa701855d22abee972fcf712feade4f9 /src/plugins/projectexplorer/linuxiccparser.cpp
parent49d6fc27ec41d48d601bdff9289353a89cfe4691 (diff)
downloadqt-creator-0204ef21f57b87b6e1957d5c9babf3779a6eecd3.tar.gz
Parser debugging/testing improvements
* Set objectname on all parsers to be able to distinguish between them more easily when debugging * Add some unit tests about pass-through of data we need in the gcc parser to the parsers that enhd up in front of the gcc parser This is to address QTCREATORBUG-1917.
Diffstat (limited to 'src/plugins/projectexplorer/linuxiccparser.cpp')
-rw-r--r--src/plugins/projectexplorer/linuxiccparser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/linuxiccparser.cpp b/src/plugins/projectexplorer/linuxiccparser.cpp
index 3516df1661..a1038aa32d 100644
--- a/src/plugins/projectexplorer/linuxiccparser.cpp
+++ b/src/plugins/projectexplorer/linuxiccparser.cpp
@@ -38,6 +38,7 @@ using namespace ProjectExplorer;
LinuxIccParser::LinuxIccParser()
: m_expectFirstLine(true), m_indent(0), m_temporary(Task())
{
+ setObjectName(QLatin1String("LinuxIccParser"));
// main.cpp(53): error #308: function \"AClass::privatefunc\" (declared at line 4 of \"main.h\") is inaccessible
m_firstLine.setPattern("^([^\\(\\)]+)" // filename (cap 1)