Use std::error_code instead of llvm::error_code.
[oota-llvm.git] / include / llvm / Support / system_error.h
1 //===---------------------------- system_error ------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This is a temporary file to help with the transition to std::error_code.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef LLVM_SUPPORT_SYSTEM_ERROR_H
15 #define LLVM_SUPPORT_SYSTEM_ERROR_H
16
17 #include <system_error>
18
19 namespace llvm {
20 using std::error_code;
21 using std::is_error_condition_enum;
22 using std::is_error_code_enum;
23 using std::system_category;
24 using std::generic_category;
25 using std::error_category;
26 using std::make_error_code;
27 using std::error_condition;
28 }
29
30 #endif