forked from OSchip/llvm-project
Move a ref-counted pointer instead of copying it. NFC.
llvm-svn: 328623
This commit is contained in:
parent
20505898cb
commit
156adaf89e
|
@ -361,7 +361,7 @@ ClangTool::ClangTool(const CompilationDatabase &Compilations,
|
|||
IntrusiveRefCntPtr<vfs::FileSystem> BaseFS)
|
||||
: Compilations(Compilations), SourcePaths(SourcePaths),
|
||||
PCHContainerOps(std::move(PCHContainerOps)),
|
||||
OverlayFileSystem(new vfs::OverlayFileSystem(BaseFS)),
|
||||
OverlayFileSystem(new vfs::OverlayFileSystem(std::move(BaseFS))),
|
||||
InMemoryFileSystem(new vfs::InMemoryFileSystem),
|
||||
Files(new FileManager(FileSystemOptions(), OverlayFileSystem)) {
|
||||
OverlayFileSystem->pushOverlay(InMemoryFileSystem);
|
||||
|
|
Loading…
Reference in New Issue