aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/ParseAST.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Sema/ParseAST.cpp')
-rw-r--r--lib/Sema/ParseAST.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/ParseAST.cpp b/lib/Sema/ParseAST.cpp
index 6b40d7fd18..bbca551521 100644
--- a/lib/Sema/ParseAST.cpp
+++ b/lib/Sema/ParseAST.cpp
@@ -42,7 +42,7 @@ void clang::ParseAST(Preprocessor &PP, ASTConsumer *Consumer,
// Initialize the parser.
P.Initialize();
- Consumer->InitializeTU(TU);
+ Consumer->Initialize(TU.getContext());
Parser::DeclTy *ADecl;