summaryrefslogtreecommitdiff
path: root/include/llvm/Support/system_error.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-05-31 03:21:04 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-05-31 03:21:04 +0000
commitc145fd3cf5f9b9bb666267869eb556c54cdd5194 (patch)
tree23cbd36525dc9cc3318368e76ec2e8e2c48b53ef /include/llvm/Support/system_error.h
parent1028cc76ef8b40a933aba58cc531ccf466951771 (diff)
downloadllvm-c145fd3cf5f9b9bb666267869eb556c54cdd5194.tar.gz
llvm-c145fd3cf5f9b9bb666267869eb556c54cdd5194.tar.bz2
llvm-c145fd3cf5f9b9bb666267869eb556c54cdd5194.tar.xz
There is no std::errc::success, remove the llvm one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209960 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/system_error.h')
-rw-r--r--include/llvm/Support/system_error.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/Support/system_error.h b/include/llvm/Support/system_error.h
index 9854a9ee85..9d300fb991 100644
--- a/include/llvm/Support/system_error.h
+++ b/include/llvm/Support/system_error.h
@@ -483,7 +483,6 @@ template <class Tp> struct is_error_condition_enum : public std::false_type {};
// for them:
enum class errc {
- success = 0,
address_family_not_supported = EAFNOSUPPORT,
address_in_use = EADDRINUSE,
address_not_available = EADDRNOTAVAIL,
@@ -810,7 +809,6 @@ inline bool operator!=(const error_condition& _x, const error_condition& _y) {
//
// error_code( ::GetLastError(), system_category() )
enum class windows_error {
- success = 0,
// These names and values are based on Windows WinError.h
// This is not a complete list. Add to this list if you need to explicitly
// check for it.