aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorLuke Drummond <luke.drummond@codeplay.com>2021-10-07 15:44:38 +0100
committerLuke Drummond <luke.drummond@codeplay.com>2021-10-07 18:34:16 +0100
commit6283d468e28b35e2731dda1a9e0efcb3d9acf557 (patch)
tree4f26b4464f4080ef64aae2c6e8315930d8da1cdc /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent3d7d5437433c16fd4a9a3674d3752c246961d70e (diff)
downloadllvm-6283d468e28b35e2731dda1a9e0efcb3d9acf557.zip
llvm-6283d468e28b35e2731dda1a9e0efcb3d9acf557.tar.gz
llvm-6283d468e28b35e2731dda1a9e0efcb3d9acf557.tar.bz2
Workaround build error for mingw-g++
mingw-g++ does not correctly support the full `std::errc` namespace as worded in the standard[1]. As such, we cannot reliably use all names therein. This patch changes the use of `std::errc::state_not_recoverable`, to use portable error codes from the `llvm::errc` equivalent. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71444 Reviewed by v.g.vassilev Differential Revision: https://reviews.llvm.org/D111315
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions