summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-03-02 13:30:33 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-03-02 13:30:33 +0000
commitd6f1f84f5170c3f7ac35d1ff3d03d95471d80388 (patch)
tree0942473b83cbd6a1b63871e744345aaf848229e8 /llvm/lib/Support/Unix
parentcef536ec0fbc0a194f261a25cb499aeada32f943 (diff)
downloadbcm5719-llvm-d6f1f84f5170c3f7ac35d1ff3d03d95471d80388.tar.gz
bcm5719-llvm-d6f1f84f5170c3f7ac35d1ff3d03d95471d80388.zip
[C++11] Replace llvm::tie with std::tie.
The old implementation is no longer needed in C++11. llvm-svn: 202644
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r--llvm/lib/Support/Unix/Process.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/Process.inc b/llvm/lib/Support/Unix/Process.inc
index 1fc7c969e0c..9fb4356ddc3 100644
--- a/llvm/lib/Support/Unix/Process.inc
+++ b/llvm/lib/Support/Unix/Process.inc
@@ -135,7 +135,7 @@ size_t Process::GetMallocUsage() {
void Process::GetTimeUsage(TimeValue &elapsed, TimeValue &user_time,
TimeValue &sys_time) {
elapsed = TimeValue::now();
- llvm::tie(user_time, sys_time) = getRUsageTimes();
+ std::tie(user_time, sys_time) = getRUsageTimes();
}
#if defined(HAVE_MACH_MACH_H) && !defined(__GNU__)
OpenPOWER on IntegriCloud