diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-28 04:11:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-28 04:11:33 +0000 |
commit | cf16983179ffe98bb406bab1889676efd49711c8 (patch) | |
tree | 6dc2a6b1083592ab6e59ab4c86ab9ceade65d1de /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | cd58cced81ad3e7053d15a2caaa5442dcdcdda21 (diff) | |
download | bcm5719-llvm-cf16983179ffe98bb406bab1889676efd49711c8.tar.gz bcm5719-llvm-cf16983179ffe98bb406bab1889676efd49711c8.zip |
change HandleTranslationUnit to take an ASTContext instead of TranslationUnit
llvm-svn: 67910
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
-rw-r--r-- | clang/lib/CodeGen/ModuleBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/ModuleBuilder.cpp b/clang/lib/CodeGen/ModuleBuilder.cpp index 6c0b68b5dd0..d41f1339b09 100644 --- a/clang/lib/CodeGen/ModuleBuilder.cpp +++ b/clang/lib/CodeGen/ModuleBuilder.cpp @@ -74,7 +74,7 @@ namespace { Builder->UpdateCompletedType(D); } - virtual void HandleTranslationUnit(TranslationUnit& TU) { + virtual void HandleTranslationUnit(ASTContext &Ctx) { if (Diags.hasErrorOccurred()) { M.reset(); return; |