aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopVersioning.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2016-05-29 10:46:35 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2016-05-29 10:46:35 +0000
commit728f4448a91f0e19e71244efe94d894649102022 (patch)
tree81d0f5d0aacaa0cb4ce68164461451522f11fe0d /llvm/lib/Transforms/Utils/LoopVersioning.cpp
parent0da23a2713ebbbc0f257060a0a59e50c3f47d4b3 (diff)
downloadllvm-728f4448a91f0e19e71244efe94d894649102022.zip
llvm-728f4448a91f0e19e71244efe94d894649102022.tar.gz
llvm-728f4448a91f0e19e71244efe94d894649102022.tar.bz2
Remove some 'const' specifiers that do nothing but prevent moving the argument.
Found by clang-tidy's misc-move-const-arg. While there drop some obsolete c_str() calls. llvm-svn: 271181
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/LoopVersioning.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopVersioning.cpp b/llvm/lib/Transforms/Utils/LoopVersioning.cpp
index e3f711f..736d79a 100644
--- a/llvm/lib/Transforms/Utils/LoopVersioning.cpp
+++ b/llvm/lib/Transforms/Utils/LoopVersioning.cpp
@@ -44,7 +44,7 @@ LoopVersioning::LoopVersioning(const LoopAccessInfo &LAI, Loop *L, LoopInfo *LI,
}
void LoopVersioning::setAliasChecks(
- const SmallVector<RuntimePointerChecking::PointerCheck, 4> Checks) {
+ SmallVector<RuntimePointerChecking::PointerCheck, 4> Checks) {
AliasChecks = std::move(Checks);
}