diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 14:02:15 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 14:02:15 +0000 |
| commit | 9986295b4f4702e5e02102cb257ae71fceedffec (patch) | |
| tree | d2c566c85a6ef92e698ec19be71888839dc3645a /lib/CodeGen | |
| parent | 43a42fb5cd0c1eb7a5f3ac97b9d5e77c10bd8c22 (diff) | |
| download | clang-9986295b4f4702e5e02102cb257ae71fceedffec.tar.gz clang-9986295b4f4702e5e02102cb257ae71fceedffec.tar.bz2 clang-9986295b4f4702e5e02102cb257ae71fceedffec.tar.xz | |
Replace llvm::error_code with std::error_code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
| -rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 7933878796..3c709f21c4 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -141,7 +141,7 @@ CodeGenModule::CodeGenModule(ASTContext &C, const CodeGenOptions &CGO, RRData = new RREntrypoints(); if (!CodeGenOpts.InstrProfileInput.empty()) { - if (llvm::error_code EC = llvm::IndexedInstrProfReader::create( + if (std::error_code EC = llvm::IndexedInstrProfReader::create( CodeGenOpts.InstrProfileInput, PGOReader)) { unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, "Could not read profile: %0"); |
