Valgrind: Merge MemCheckRunner and ValgrindRunner base

It's mostly the xml/log handling, which can be re-used in other tools.

The change is purely mechanical, including some style fixes and
some modernization.

Change-Id: I6b44ae71451e8d3e26df40b9af9b4ec70038a92d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2017-06-21 08:08:43 +02:00
parent 1acd9d30dc
commit 88fd4043d8
16 changed files with 158 additions and 331 deletions

View File

@@ -28,7 +28,7 @@
#include "valgrindengine.h"
#include "memcheck/memcheckrunner.h"
#include "valgrindrunner.h"
#include "xmlprotocol/threadedparser.h"
namespace Valgrind {
@@ -61,7 +61,7 @@ private:
void appendLog(const QByteArray &data);
XmlProtocol::ThreadedParser m_parser;
Memcheck::MemcheckRunner m_runner;
ValgrindRunner m_runner;
const bool m_withGdb;
};