diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-08-19 14:36:35 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-08-19 14:36:35 +0000 |
commit | e8337304f339319ebc5bde83826f6b31a93c3ec6 (patch) | |
tree | 6d695e10b5a8f7e947a01fe120c077145694fa9e /clang/lib | |
parent | aca3be852a29801635294a8238e9b80af6732b92 (diff) | |
download | bcm5719-llvm-e8337304f339319ebc5bde83826f6b31a93c3ec6.tar.gz bcm5719-llvm-e8337304f339319ebc5bde83826f6b31a93c3ec6.zip |
Move the body out of line to try to fix a buildbot.
llvm-svn: 215980
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/CodeGen/CodeGenAction.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp index ab0ca18a3de..53074a65504 100644 --- a/clang/lib/CodeGen/CodeGenAction.cpp +++ b/clang/lib/CodeGen/CodeGenAction.cpp @@ -579,6 +579,10 @@ void CodeGenAction::EndSourceFileAction() { TheModule.reset(BEConsumer->takeModule()); } +std::unique_ptr<llvm::Module> CodeGenAction::takeModule() { + return std::move(TheModule); +} + llvm::LLVMContext *CodeGenAction::takeLLVMContext() { OwnsVMContext = false; return VMContext; |