summaryrefslogtreecommitdiffstats
path: root/clang/Driver/clang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Driver/clang.cpp')
-rw-r--r--clang/Driver/clang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp
index 896479aa5db..5f3f168ff79 100644
--- a/clang/Driver/clang.cpp
+++ b/clang/Driver/clang.cpp
@@ -1032,7 +1032,7 @@ static ASTConsumer* CreateASTConsumer(const std::string& InFile,
return CreateASTSerializer(InFile, OutputFile, Diag, LangOpts);
case RewriteTest:
- return CreateCodeRewriterTest(InFile, Diag);
+ return CreateCodeRewriterTest(InFile, Diag, LangOpts);
}
}
OpenPOWER on IntegriCloud