[PowerPC] Fix the int2fp(fp2int(x)) DAGCombine to ignore ppc_fp128
[oota-llvm.git] / tools / llvm-readobj / Error.h
index b3aab327cbef8e0e60431f0adecd5e0c43fba0ee..f3e24bbe5dbfd79890fc66806b532e3a7f4cb735 100644 (file)
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_READOBJ_ERROR_H
-#define LLVM_READOBJ_ERROR_H
+#ifndef LLVM_TOOLS_LLVM_READOBJ_ERROR_H
+#define LLVM_TOOLS_LLVM_READOBJ_ERROR_H
 
-#include "llvm/Support/system_error.h"
+#include <system_error>
 
 namespace llvm {
-
-const error_category &readobj_category();
+const std::error_category &readobj_category();
 
 enum class readobj_error {
   success = 0,
@@ -29,8 +28,8 @@ enum class readobj_error {
   unknown_symbol
 };
 
-inline error_code make_error_code(readobj_error e) {
-  return error_code(static_cast<int>(e), readobj_category());
+inline std::error_code make_error_code(readobj_error e) {
+  return std::error_code(static_cast<int>(e), readobj_category());
 }
 
 } // namespace llvm