forked from qt-creator/qt-creator
Clang: Fix build
This amends commit cf4dbb4bb6.
Change-Id: Ib74fba38348a02f6bb9d254b7a5e9013a2013942
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
1c82a53e74
commit
5e483d04bc
@@ -50,10 +50,10 @@ ClangQueryGatherer::createSourceRangesForSource(
|
||||
{
|
||||
ClangQuery clangQuery(*filePathCache, std::move(query));
|
||||
|
||||
clangQuery.addFile(std::string(source.filePath().directory()),
|
||||
std::string(source.filePath().name()),
|
||||
std::string(source.takeUnsavedFileContent()),
|
||||
std::vector<std::string>(source.takeCommandLineArguments()));
|
||||
clangQuery.addFile(std::string(source.filePath.directory()),
|
||||
std::string(source.filePath.name()),
|
||||
std::string(source.unsavedFileContent),
|
||||
std::vector<std::string>(source.commandLineArguments));
|
||||
|
||||
clangQuery.addUnsavedFiles(unsaved);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user