r210832 - Prefix another use of error_code.
Rafael Espindola
rafael.espindola at gmail.com
Thu Jun 12 14:36:35 PDT 2014
Author: rafael
Date: Thu Jun 12 16:36:35 2014
New Revision: 210832
URL: http://llvm.org/viewvc/llvm-project?rev=210832&view=rev
Log:
Prefix another use of error_code.
Modified:
cfe/trunk/lib/CodeGen/CodeGenAction.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenAction.cpp?rev=210832&r1=210831&r2=210832&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenAction.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenAction.cpp Thu Jun 12 16:36:35 2014
@@ -621,7 +621,7 @@ ASTConsumer *CodeGenAction::CreateASTCon
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;
More information about the cfe-commits
mailing list