summaryrefslogtreecommitdiff
path: root/clang-r344140b/include/llvm/Support/WindowsError.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-r344140b/include/llvm/Support/WindowsError.h')
-rw-r--r--clang-r344140b/include/llvm/Support/WindowsError.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/clang-r344140b/include/llvm/Support/WindowsError.h b/clang-r344140b/include/llvm/Support/WindowsError.h
new file mode 100644
index 00000000..63bfe597
--- /dev/null
+++ b/clang-r344140b/include/llvm/Support/WindowsError.h
@@ -0,0 +1,19 @@
+//===-- WindowsError.h - Support for mapping windows errors to posix-------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_SUPPORT_WINDOWSERROR_H
+#define LLVM_SUPPORT_WINDOWSERROR_H
+
+#include <system_error>
+
+namespace llvm {
+std::error_code mapWindowsError(unsigned EV);
+}
+
+#endif