Prefix another use of error_code.

llvm-svn: 210832
This commit is contained in:
Rafael Espindola 2014-06-12 21:36:35 +00:00
parent f743031b8b
commit b30469955d
1 changed files with 1 additions and 1 deletions

View File

@ -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;