Gcc: Handle new warnings/error messages from gcc 4.8

Change-Id: I992be31dcf4a4dd91a419c43b5d9797fcf3a955c
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Tobias Hunger
2013-04-03 14:39:01 +02:00
parent 3da6b04a82
commit 4eb71aa2dd
4 changed files with 120 additions and 64 deletions

View File

@@ -30,35 +30,27 @@
#ifndef CLANGPARSER_H
#define CLANGPARSER_H
#include "ioutputparser.h"
#include "gccparser.h"
#include "task.h"
#include <QRegExp>
namespace ProjectExplorer {
class ClangParser : public ProjectExplorer::IOutputParser
class ClangParser : public ProjectExplorer::GccParser
{
Q_OBJECT
public:
ClangParser();
~ClangParser();
void stdError(const QString &line);
private:
void newTask(Task::TaskType type_, const QString &description_,
const Utils::FileName &file_, int line_, const Core::Id &category_);
void emitTask();
QRegExp m_commandRegExp;
QRegExp m_inLineRegExp;
QRegExp m_messageRegExp;
QRegExp m_summaryRegExp;
bool m_expectSnippet;
Task m_currentTask;
};
} // namespace ProjectExplorer