From: Rafael Espindola Date: Thu, 12 Jun 2014 21:36:35 +0000 (+0000) Subject: Prefix another use of error_code. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b309ab8d5609baf608d01bfb72cd17ee3aa48c7;p=clang Prefix another use of error_code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210832 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CodeGenAction.cpp b/lib/CodeGen/CodeGenAction.cpp index db3ecc5672..407fe94049 100644 --- a/lib/CodeGen/CodeGenAction.cpp +++ b/lib/CodeGen/CodeGenAction.cpp @@ -621,7 +621,7 @@ ASTConsumer *CodeGenAction::CreateASTConsumer(CompilerInstance &CI, ErrorOr 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;