ClangRefactoring: Map unsaved files with non-native paths in ClangTool

Otherwise the ClangTool complains that it does not see them.

Change-Id: Ib616058584f8f95229213224cec98fa6b6f7522b
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
Ivan Donchevskii
2019-02-15 16:13:20 +01:00
parent c219b00ca3
commit 2c6bda5950
4 changed files with 24 additions and 33 deletions

View File

@@ -55,12 +55,12 @@ struct FileContent
struct UnsavedFileContent
{
UnsavedFileContent(NativeFilePath &&filePath, Utils::SmallString &&content)
UnsavedFileContent(FilePath &&filePath, Utils::SmallString &&content)
: filePath(std::move(filePath))
, content(std::move(content))
{}
NativeFilePath filePath;
FilePath filePath;
Utils::SmallString content;
};