summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-12 21:36:35 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-12 21:36:35 +0000
commitb30469955d0d19d70cff370a7ac7b4d2e15d72cb (patch)
tree0776878364f7df4f10d9fa46cf9f2c75dc676187 /clang/lib/CodeGen/CodeGenAction.cpp
parentf743031b8b923efe8c534bd56b51bb566f36b9cf (diff)
downloadbcm5719-llvm-b30469955d0d19d70cff370a7ac7b4d2e15d72cb.tar.gz
bcm5719-llvm-b30469955d0d19d70cff370a7ac7b4d2e15d72cb.zip
Prefix another use of error_code.
llvm-svn: 210832
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
-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 db3ecc5672d..407fe940499 100644
--- a/clang/lib/CodeGen/CodeGenAction.cpp
+++ b/clang/lib/CodeGen/CodeGenAction.cpp
@@ -621,7 +621,7 @@ ASTConsumer *CodeGenAction::CreateASTConsumer(CompilerInstance &CI,
ErrorOr<llvm::Module *> ModuleOrErr =
getLazyBitcodeModule(BCBuf, *VMContext);
- if (error_code EC = ModuleOrErr.getError()) {
+ if (std::error_code EC = ModuleOrErr.getError()) {
CI.getDiagnostics().Report(diag::err_cannot_open_file)
<< LinkBCFile << EC.message();
return nullptr;
OpenPOWER on IntegriCloud