forked from qt-creator/qt-creator
Clang: Add file name to qtc.clangbackend.jobs output
This helps to overview debug output in case several files are involved. Change-Id: I12ee23bd7cec4cd344746ef1323afb3f0ab54d4b Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QFileInfo>
|
||||
|
||||
namespace ClangBackEnd {
|
||||
|
||||
class DocumentProcessorData
|
||||
@@ -47,7 +49,7 @@ public:
|
||||
ClangCodeModelClientInterface &client)
|
||||
: document(document)
|
||||
, documents(documents)
|
||||
, jobs(documents, unsavedFiles, projects, client)
|
||||
, jobs(documents, unsavedFiles, projects, client, QFileInfo(document.filePath()).fileName())
|
||||
, supportiveTranslationUnitInitializer(document, jobs)
|
||||
{
|
||||
const auto isDocumentClosedChecker = [this](const Utf8String &filePath,
|
||||
|
||||
Reference in New Issue
Block a user