summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/system_error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/system_error.cpp')
-rw-r--r--llvm/lib/Support/system_error.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Support/system_error.cpp b/llvm/lib/Support/system_error.cpp
index 0ca183e40a4..46b501eea0e 100644
--- a/llvm/lib/Support/system_error.cpp
+++ b/llvm/lib/Support/system_error.cpp
@@ -96,15 +96,6 @@ system_category() {
return s;
}
-const error_category&
-posix_category() {
-#ifdef LLVM_ON_WIN32
- return generic_category();
-#else
- return system_category();
-#endif
-}
-
// error_condition
std::string
OpenPOWER on IntegriCloud