aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/CodeGen/TestCompiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/CodeGen/TestCompiler.h')
-rw-r--r--clang/unittests/CodeGen/TestCompiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/CodeGen/TestCompiler.h b/clang/unittests/CodeGen/TestCompiler.h
index a6fec7f..f6fada5 100644
--- a/clang/unittests/CodeGen/TestCompiler.h
+++ b/clang/unittests/CodeGen/TestCompiler.h
@@ -58,7 +58,7 @@ struct TestCompiler {
CG.reset(CreateLLVMCodeGen(
compiler.getDiagnostics(), "main-module",
- &compiler.getVirtualFileSystem(), compiler.getHeaderSearchOpts(),
+ compiler.getVirtualFileSystemPtr(), compiler.getHeaderSearchOpts(),
compiler.getPreprocessorOpts(), compiler.getCodeGenOpts(), Context));
}