diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-13 02:24:39 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-13 02:24:39 +0000 |
commit | db4ed0bdabc9f61fbd373be416375e38bf1acb27 (patch) | |
tree | 0efbd2559140b336f68d1a7528dcc64add57602d /llvm/lib/Support/YAMLTraits.cpp | |
parent | 3453bcf64d394b109ccab19915ba2fa40feeb59b (diff) | |
download | bcm5719-llvm-db4ed0bdabc9f61fbd373be416375e38bf1acb27.tar.gz bcm5719-llvm-db4ed0bdabc9f61fbd373be416375e38bf1acb27.zip |
Remove 'using std::errro_code' from lib.
llvm-svn: 210871
Diffstat (limited to 'llvm/lib/Support/YAMLTraits.cpp')
-rw-r--r-- | llvm/lib/Support/YAMLTraits.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Support/YAMLTraits.cpp b/llvm/lib/Support/YAMLTraits.cpp index 0042c290362..0bf9cf89088 100644 --- a/llvm/lib/Support/YAMLTraits.cpp +++ b/llvm/lib/Support/YAMLTraits.cpp @@ -18,7 +18,6 @@ #include <cstring> using namespace llvm; using namespace yaml; -using std::error_code; //===----------------------------------------------------------------------===// // IO @@ -57,9 +56,7 @@ Input::Input(StringRef InputContent, Input::~Input() { } -error_code Input::error() { - return EC; -} +std::error_code Input::error() { return EC; } // Pin the vtables to this file. void Input::HNode::anchor() {} |