CustomToolChain: Allow MSVC output parser on non-Windows systems

To do that, move the existing enumeration-based system to a
string base. MSVC/Windows and Custom/Unix shared the same
enumeration value (3), so we must provide an operating system
aware upgrade path.

Task-number: QTCREATORBUG-16247
Change-Id: I8beeeabc09119fc501933a7287f2f982195363a2
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Andre Hartmann
2017-04-14 21:45:41 +02:00
committed by André Hartmann
parent e19620ddd5
commit 2ff642d8e4
12 changed files with 118 additions and 54 deletions

View File

@@ -40,6 +40,8 @@ public:
ClangParser();
void stdError(const QString &line);
static Core::Id id();
private:
QRegularExpression m_commandRegExp;
QRegularExpression m_inLineRegExp;