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/Unix | |
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/Unix')
-rw-r--r-- | llvm/lib/Support/Unix/Process.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/Process.inc b/llvm/lib/Support/Unix/Process.inc index dedc4430d6f..b83f5079ce0 100644 --- a/llvm/lib/Support/Unix/Process.inc +++ b/llvm/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 |