diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-12-31 11:45:20 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-12-31 11:45:20 +0000 |
commit | 5473dfb099d2787979c1c260e08b06dad59ab0d1 (patch) | |
tree | b9b679827816a87eec8ed61db3458ba6c09e48e4 /llvm/lib/Support/Windows | |
parent | 304de3c4247f25b7a75e6af32c64a26a12121f05 (diff) | |
download | bcm5719-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/Windows')
-rw-r--r-- | llvm/lib/Support/Windows/Process.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Support/Windows/Process.inc b/llvm/lib/Support/Windows/Process.inc index fc24ceaf07a..9ad7917714c 100644 --- a/llvm/lib/Support/Windows/Process.inc +++ b/llvm/lib/Support/Windows/Process.inc @@ -35,7 +35,7 @@ # define _HEAPOK (-2) #endif -namespace llvm { +using namespace llvm; using namespace sys; @@ -261,5 +261,3 @@ const char *Process::ResetColor() { SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), defaultColors()); return 0; } - -} |