aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Testing/TestAST.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Testing/TestAST.cpp')
-rw-r--r--clang/lib/Testing/TestAST.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Testing/TestAST.cpp b/clang/lib/Testing/TestAST.cpp
index 9ad0de9..d333895 100644
--- a/clang/lib/Testing/TestAST.cpp
+++ b/clang/lib/Testing/TestAST.cpp
@@ -61,7 +61,7 @@ void createMissingComponents(CompilerInstance &Clang) {
if (!Clang.hasFileManager())
Clang.createFileManager();
if (!Clang.hasSourceManager())
- Clang.createSourceManager(Clang.getFileManager());
+ Clang.createSourceManager();
if (!Clang.hasTarget())
Clang.createTarget();
if (!Clang.hasPreprocessor())