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.
This commit is contained in:
Tobias Hunger
2010-09-15 13:55:01 +02:00
parent 49d6fc27ec
commit 0204ef21f5
8 changed files with 41 additions and 1 deletions

View File

@@ -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)