forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user