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 | 9b4aba85a89f9347212e00f80953f2a685ffeb36 (patch) | |
tree | e88361856d09408bcfae59966a023c8927bd95e8 /lib/Support/Unix | |
parent | 8e98c1f2540be6e5adfcae15064a831fa0b3a8c9 (diff) | |
download | external_llvm-9b4aba85a89f9347212e00f80953f2a685ffeb36.zip external_llvm-9b4aba85a89f9347212e00f80953f2a685ffeb36.tar.gz external_llvm-9b4aba85a89f9347212e00f80953f2a685ffeb36.tar.bz2 |
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/Unix')
-rw-r--r-- | lib/Support/Unix/Process.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Unix/Process.inc b/lib/Support/Unix/Process.inc index dedc443..b83f507 100644 --- a/lib/Support/Unix/Process.inc +++ b/lib/Support/Unix/Process.inc @@ -324,7 +324,7 @@ static unsigned GetRandomNumberSeed() { // Otherwise, swizzle the current time and the process ID to form a reasonable // seed. - TimeValue Now = llvm::TimeValue::now(); + TimeValue Now = TimeValue::now(); return hash_combine(Now.seconds(), Now.nanoseconds(), ::getpid()); } #endif |