summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-09-03 17:31:52 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-09-03 17:31:52 +0000
commitefde5a77406a96197249bdaa2d088f687dd26b69 (patch)
tree1519ff81713d0016e5cfa07f3a976f6466df6cac
parent688121571ae35f2f767ae16aa84c8df4a889ab72 (diff)
downloadbcm5719-llvm-efde5a77406a96197249bdaa2d088f687dd26b69.tar.gz
bcm5719-llvm-efde5a77406a96197249bdaa2d088f687dd26b69.zip
Update for LLVM api change.
llvm-svn: 217050
-rw-r--r--clang/lib/CodeGen/CodeGenAction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp
index 1d81900acc2..bc72ee67a84 100644
--- a/clang/lib/CodeGen/CodeGenAction.cpp
+++ b/clang/lib/CodeGen/CodeGenAction.cpp
@@ -633,7 +633,7 @@ CodeGenAction::CreateASTConsumer(CompilerInstance &CI, StringRef InFile) {
}
ErrorOr<llvm::Module *> ModuleOrErr =
- getLazyBitcodeModule(BCBuf, *VMContext);
+ getLazyBitcodeModule(std::move(BCBuf), *VMContext);
if (std::error_code EC = ModuleOrErr.getError()) {
CI.getDiagnostics().Report(diag::err_cannot_open_file)
<< LinkBCFile << EC.message();
OpenPOWER on IntegriCloud