summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Process.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-12-31 11:45:20 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-12-31 11:45:20 +0000
commit5473dfb099d2787979c1c260e08b06dad59ab0d1 (patch)
treeb9b679827816a87eec8ed61db3458ba6c09e48e4 /llvm/lib/Support/Process.cpp
parent304de3c4247f25b7a75e6af32c64a26a12121f05 (diff)
downloadbcm5719-llvm-5473dfb099d2787979c1c260e08b06dad59ab0d1.tar.gz
bcm5719-llvm-5473dfb099d2787979c1c260e08b06dad59ab0d1.zip
Switch this code to a more idiomatic double using namespace directive.
Fix a truly odd namespace qualifier that was flat out wrong in the process. The fully qualified namespace would have been llvm::sys::TimeValue, llvm::TimeValue makes no sense. llvm-svn: 171292
Diffstat (limited to 'llvm/lib/Support/Process.cpp')
-rw-r--r--llvm/lib/Support/Process.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Support/Process.cpp b/llvm/lib/Support/Process.cpp
index 6e24c45fa08..1e21d64e601 100644
--- a/llvm/lib/Support/Process.cpp
+++ b/llvm/lib/Support/Process.cpp
@@ -15,7 +15,7 @@
#include "llvm/Support/Process.h"
#include "llvm/Support/ErrorHandling.h"
-namespace llvm {
+using namespace llvm;
using namespace sys;
//===----------------------------------------------------------------------===//
@@ -54,7 +54,6 @@ self_process::~self_process() {
#pragma warning(pop)
#endif
-}
// Include the platform-specific parts of this class.
#ifdef LLVM_ON_UNIX
OpenPOWER on IntegriCloud