aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Windows/Process.inc
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
commit9b4aba85a89f9347212e00f80953f2a685ffeb36 (patch)
treee88361856d09408bcfae59966a023c8927bd95e8 /lib/Support/Windows/Process.inc
parent8e98c1f2540be6e5adfcae15064a831fa0b3a8c9 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171292 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Windows/Process.inc')
-rw-r--r--lib/Support/Windows/Process.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Support/Windows/Process.inc b/lib/Support/Windows/Process.inc
index fc24ceaf07..9ad7917714 100644
--- a/lib/Support/Windows/Process.inc
+++ b/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;
}
-
-}