diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 01:45:43 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 01:45:43 +0000 |
commit | 9ee34311f3a9f6d49023bc74f6028133f90e1d4f (patch) | |
tree | 6b3d06f5e87630dedb0061106b53f58c8b2b5c12 /include | |
parent | 173d7ff83300ece5cc18049cf5c909c1e8d179d9 (diff) | |
download | llvm-9ee34311f3a9f6d49023bc74f6028133f90e1d4f.tar.gz llvm-9ee34311f3a9f6d49023bc74f6028133f90e1d4f.tar.bz2 llvm-9ee34311f3a9f6d49023bc74f6028133f90e1d4f.tar.xz |
Don't import error_category into the llvm namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210733 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Object/Error.h | 2 | ||||
-rw-r--r-- | include/llvm/ProfileData/InstrProf.h | 2 | ||||
-rw-r--r-- | include/llvm/Support/system_error.h | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Object/Error.h b/include/llvm/Object/Error.h index 15824f8e11..3db9fa45e3 100644 --- a/include/llvm/Object/Error.h +++ b/include/llvm/Object/Error.h @@ -19,7 +19,7 @@ namespace llvm { namespace object { -const error_category &object_category(); +const std::error_category &object_category(); enum class object_error { success = 0, diff --git a/include/llvm/ProfileData/InstrProf.h b/include/llvm/ProfileData/InstrProf.h index 755ba36bca..b44b92ef62 100644 --- a/include/llvm/ProfileData/InstrProf.h +++ b/include/llvm/ProfileData/InstrProf.h @@ -20,7 +20,7 @@ namespace llvm { -const error_category &instrprof_category(); +const std::error_category &instrprof_category(); enum class instrprof_error { success = 0, diff --git a/include/llvm/Support/system_error.h b/include/llvm/Support/system_error.h index 83645173b9..932fc1e1ad 100644 --- a/include/llvm/Support/system_error.h +++ b/include/llvm/Support/system_error.h @@ -19,7 +19,6 @@ namespace llvm { using std::error_code; using std::generic_category; -using std::error_category; using std::make_error_code; } |