Skip to content

Commit 4faa6c6

Browse files
committed
[clang][test] Use a physical copy of FS
(missing piece from https://reviews.llvm.org/D152265) 476e7c4
1 parent caa2c1b commit 4faa6c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/unittests/Serialization/ModuleCacheTest.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ TEST_F(ModuleCacheTest, CachedModuleNewPathAllowErrors) {
149149
CompilerInstance::createDiagnostics(new DiagnosticOptions());
150150
CreateInvocationOptions CIOpts;
151151
CIOpts.Diags = Diags;
152+
CIOpts.VFS = llvm::vfs::createPhysicalFileSystem();
152153

153154
// First run should pass with no errors
154155
const char *Args[] = {"clang", "-fmodules", "-Fframeworks",

0 commit comments

Comments
 (0)