summaryrefslogtreecommitdiff
path: root/src/plugins/baremetal/sdccparser.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2020-04-07 13:49:34 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2020-04-07 15:20:22 +0000
commit7745eacc7afae4acf3e07325ab01cf6e6821037c (patch)
tree2a125e0c7530d3ae252a740b42db4cd1d34f805a /src/plugins/baremetal/sdccparser.cpp
parentb22bb5a9a7aa22fe13e1282c5db851688ec4d83f (diff)
downloadqt-creator-7745eacc7afae4acf3e07325ab01cf6e6821037c.tar.gz
Output parsers: Generalize the search directory concept
All parsers can now have search directories, not just the GnuMakeParser. This allows us to get rid of the "task mangling", removing another instance where the order of parsers in the chain mattered. Task-number: QTCREATORBUG-22665 Change-Id: Id0d55522ae6800afd9f50ff36546224b0d8bb382 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/baremetal/sdccparser.cpp')
-rw-r--r--src/plugins/baremetal/sdccparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/baremetal/sdccparser.cpp b/src/plugins/baremetal/sdccparser.cpp
index 5a12b5d66e..e94656c412 100644
--- a/src/plugins/baremetal/sdccparser.cpp
+++ b/src/plugins/baremetal/sdccparser.cpp
@@ -106,7 +106,7 @@ void SdccParser::stdError(const QString &line)
const int lineno = match.captured(LineNumberIndex).toInt();
const Task::TaskType type = taskType(match.captured(MessageTypeIndex));
const QString descr = match.captured(MessageTextIndex);
- newTask(CompileTask(type, descr, fileName, lineno));
+ newTask(CompileTask(type, descr, absoluteFilePath(fileName), lineno));
return;
}
@@ -120,7 +120,7 @@ void SdccParser::stdError(const QString &line)
const int lineno = match.captured(LineNumberIndex).toInt();
const Task::TaskType type = taskType(match.captured(MessageTypeIndex));
const QString descr = match.captured(MessageTextIndex);
- newTask(CompileTask(type, descr, fileName, lineno));
+ newTask(CompileTask(type, descr, absoluteFilePath(fileName), lineno));
return;
}