From e8337304f339319ebc5bde83826f6b31a93c3ec6 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 19 Aug 2014 14:36:35 +0000 Subject: Move the body out of line to try to fix a buildbot. llvm-svn: 215980 --- clang/lib/CodeGen/CodeGenAction.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'clang/lib/CodeGen/CodeGenAction.cpp') 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 CodeGenAction::takeModule() { + return std::move(TheModule); +} + llvm::LLVMContext *CodeGenAction::takeLLVMContext() { OwnsVMContext = false; return VMContext; -- cgit v1.2.3