commit | 7bb0da001fc579410035cec00b6bca499251a318 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Mar 28 02:18:25 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Mar 28 02:18:25 2009 +0000 |
tree | e5e12128a449bab91aa89b1836864da690591be2 | |
parent | 925a704e0831e2b2f3678c33c50b5484fbe6517a [diff] [blame] |
eliminate ASTConsumer::InitializeTU, all clients are happy with just ASTContext, they don't need a TU. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67894 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/ParseAST.cpp b/lib/Sema/ParseAST.cpp index 6b40d7f..bbca551 100644 --- a/lib/Sema/ParseAST.cpp +++ b/lib/Sema/ParseAST.cpp
@@ -42,7 +42,7 @@ // Initialize the parser. P.Initialize(); - Consumer->InitializeTU(TU); + Consumer->Initialize(TU.getContext()); Parser::DeclTy *ADecl;