mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-14 00:06:06 +00:00

While std::error_code itself seems to work OK in all platforms, there are few annoying differences with regards to the std::errc enumeration. This patch adds a simple llvm enumeration, which will hopefully avoid build breakages in other platforms and surprises as we get more uses of std::error_code. llvm-svn: 210920