diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 21:46:39 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 21:46:39 +0000 |
commit | 3acea39853d1a5ef2f3920c27f5748778fe53af9 (patch) | |
tree | f93b4e1c0fcdb02cf6c80b8e894f0f3b92f1bcac /llvm/lib/Support/Unix | |
parent | b6e7d64f3070db641c332ca495215b8c3b887882 (diff) | |
download | bcm5719-llvm-3acea39853d1a5ef2f3920c27f5748778fe53af9.tar.gz bcm5719-llvm-3acea39853d1a5ef2f3920c27f5748778fe53af9.zip |
Don't use 'using std::error_code' in include/llvm.
This should make sure that most new uses use the std prefix.
llvm-svn: 210835
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r-- | llvm/lib/Support/Unix/Memory.inc | 1 | ||||
-rw-r--r-- | llvm/lib/Support/Unix/Process.inc | 2 | ||||
-rw-r--r-- | llvm/lib/Support/Unix/Program.inc | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/Memory.inc b/llvm/lib/Support/Unix/Memory.inc index 10de038f437..cca37829497 100644 --- a/llvm/lib/Support/Unix/Memory.inc +++ b/llvm/lib/Support/Unix/Memory.inc @@ -37,6 +37,7 @@ extern "C" void sys_icache_invalidate(const void *Addr, size_t len); #else extern "C" void __clear_cache(void *, void*); #endif +using std::error_code; namespace { diff --git a/llvm/lib/Support/Unix/Process.inc b/llvm/lib/Support/Unix/Process.inc index d927bb539ed..ea2b8dcda26 100644 --- a/llvm/lib/Support/Unix/Process.inc +++ b/llvm/lib/Support/Unix/Process.inc @@ -46,7 +46,7 @@ using namespace llvm; using namespace sys; - +using std::error_code; process::id_type self_process::get_id() { return getpid(); diff --git a/llvm/lib/Support/Unix/Program.inc b/llvm/lib/Support/Unix/Program.inc index f4c6cdf7e99..d8506643349 100644 --- a/llvm/lib/Support/Unix/Program.inc +++ b/llvm/lib/Support/Unix/Program.inc @@ -48,6 +48,8 @@ #endif namespace llvm { +using std::error_code; + using namespace sys; ProcessInfo::ProcessInfo() : Pid(0), ReturnCode(0) {} |