summaryrefslogtreecommitdiffstats
path: root/clang/AST/ASTStreamer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/AST/ASTStreamer.cpp')
-rw-r--r--clang/AST/ASTStreamer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/AST/ASTStreamer.cpp b/clang/AST/ASTStreamer.cpp
index bd192040d7b..7db53f3ae6f 100644
--- a/clang/AST/ASTStreamer.cpp
+++ b/clang/AST/ASTStreamer.cpp
@@ -19,7 +19,7 @@ using namespace clang;
/// Interface to the Builder.cpp file.
///
-Action *CreateASTBuilderActions(bool FullLocInfo);
+Action *CreateASTBuilderActions(Preprocessor &PP, bool FullLocInfo);
namespace {
@@ -27,7 +27,7 @@ namespace {
Parser P;
public:
ASTStreamer(Preprocessor &PP, unsigned MainFileID, bool FullLocInfo)
- : P(PP, *CreateASTBuilderActions(FullLocInfo)) {
+ : P(PP, *CreateASTBuilderActions(PP, FullLocInfo)) {
PP.EnterSourceFile(MainFileID, 0, true);
// Initialize the parser.
OpenPOWER on IntegriCloud