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 57b5b07..9bd9060 100644
--- a/clang/unittests/CodeGen/TestCompiler.h
+++ b/clang/unittests/CodeGen/TestCompiler.h
@@ -52,7 +52,7 @@ struct TestCompiler {
PtrSize = TInfo.getPointerWidth(clang::LangAS::Default) / 8;
compiler.createFileManager();
- compiler.createSourceManager(compiler.getFileManager());
+ compiler.createSourceManager();
compiler.createPreprocessor(clang::TU_Prefix);
compiler.createASTContext();