summaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/LoopUnswitch.cpp
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
commita4f0aad95182b7c6dec35fea0d1dc4ef3046b5ab (patch)
treec981102d506f312cfe521648f7d523a2a6a03f75 /lib/Transforms/Scalar/LoopUnswitch.cpp
parentfc6d7d6cf53a539555f2065a059300e181ddb94b (diff)
downloadllvm-a4f0aad95182b7c6dec35fea0d1dc4ef3046b5ab.tar.gz
llvm-a4f0aad95182b7c6dec35fea0d1dc4ef3046b5ab.tar.bz2
llvm-a4f0aad95182b7c6dec35fea0d1dc4ef3046b5ab.tar.xz
[C++11] Replace llvm::tie with std::tie.
The old implementation is no longer needed in C++11. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202644 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopUnswitch.cpp')
-rw-r--r--lib/Transforms/Scalar/LoopUnswitch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopUnswitch.cpp b/lib/Transforms/Scalar/LoopUnswitch.cpp
index cfadf9a9d4..2f50596ca7 100644
--- a/lib/Transforms/Scalar/LoopUnswitch.cpp
+++ b/lib/Transforms/Scalar/LoopUnswitch.cpp
@@ -225,7 +225,7 @@ bool LUAnalysisCache::countLoop(const Loop *L, const TargetTransformInfo &TTI) {
LoopPropsMapIt PropsIt;
bool Inserted;
- llvm::tie(PropsIt, Inserted) =
+ std::tie(PropsIt, Inserted) =
LoopsProperties.insert(std::make_pair(L, LoopProperties()));
LoopProperties &Props = PropsIt->second;