summaryrefslogtreecommitdiff
path: root/clang-r353983e/include/llvm/Support/WindowsError.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang-r353983e/include/llvm/Support/WindowsError.h')
-rw-r--r--clang-r353983e/include/llvm/Support/WindowsError.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/clang-r353983e/include/llvm/Support/WindowsError.h b/clang-r353983e/include/llvm/Support/WindowsError.h
new file mode 100644
index 00000000..19540522
--- /dev/null
+++ b/clang-r353983e/include/llvm/Support/WindowsError.h
@@ -0,0 +1,18 @@
+//===-- WindowsError.h - Support for mapping windows errors to posix-------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_SUPPORT_WINDOWSERROR_H
+#define LLVM_SUPPORT_WINDOWSERROR_H
+
+#include <system_error>
+
+namespace llvm {
+std::error_code mapWindowsError(unsigned EV);
+}
+
+#endif