diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-13 01:25:41 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-13 01:25:41 +0000 |
commit | bff5d0d16a2a5d2296de32e4bb9dad5370d24605 (patch) | |
tree | 091f52766c3acea979d016c198963d59fcf1bd68 /llvm/tools/obj2yaml/Error.h | |
parent | bfd480d79fd03bb0d8f498a0216ecafb63cddf55 (diff) | |
download | bcm5719-llvm-bff5d0d16a2a5d2296de32e4bb9dad5370d24605.tar.gz bcm5719-llvm-bff5d0d16a2a5d2296de32e4bb9dad5370d24605.zip |
Remove all uses of 'using std::error_code' from headers.
llvm-svn: 210866
Diffstat (limited to 'llvm/tools/obj2yaml/Error.h')
-rw-r--r-- | llvm/tools/obj2yaml/Error.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/tools/obj2yaml/Error.h b/llvm/tools/obj2yaml/Error.h index b91bfbb33c0..4657f0db528 100644 --- a/llvm/tools/obj2yaml/Error.h +++ b/llvm/tools/obj2yaml/Error.h @@ -13,7 +13,6 @@ #include <system_error> namespace llvm { -using std::error_code; const std::error_category &obj2yaml_category(); enum class obj2yaml_error { @@ -23,8 +22,8 @@ enum class obj2yaml_error { unsupported_obj_file_format }; -inline error_code make_error_code(obj2yaml_error e) { - return error_code(static_cast<int>(e), obj2yaml_category()); +inline std::error_code make_error_code(obj2yaml_error e) { + return std::error_code(static_cast<int>(e), obj2yaml_category()); } } // namespace llvm |