summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/CloneDetection.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-10-20 17:53:42 +0000
committerFangrui Song <maskray@google.com>2018-10-20 17:53:42 +0000
commit3117b17bc57c174ab44b42350eac2b2bc6f6dcd3 (patch)
tree521ba6cecfe4a31f613e29eb6eff7c63291e682e /clang/lib/Analysis/CloneDetection.cpp
parent45b275409729919a0cc844aa2b34daf5534a107f (diff)
downloadbcm5719-llvm-3117b17bc57c174ab44b42350eac2b2bc6f6dcd3.tar.gz
bcm5719-llvm-3117b17bc57c174ab44b42350eac2b2bc6f6dcd3.zip
Use llvm::{all,any,none}_of instead std::{all,any,none}_of. NFC
llvm-svn: 344859
Diffstat (limited to 'clang/lib/Analysis/CloneDetection.cpp')
-rw-r--r--clang/lib/Analysis/CloneDetection.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Analysis/CloneDetection.cpp b/clang/lib/Analysis/CloneDetection.cpp
index 9a18eacf486..cbf70c356f1 100644
--- a/clang/lib/Analysis/CloneDetection.cpp
+++ b/clang/lib/Analysis/CloneDetection.cpp
@@ -523,8 +523,7 @@ void CloneConstraint::splitCloneGroups(
Result.push_back(PotentialGroup);
}
- assert(std::all_of(Indexes.begin(), Indexes.end(),
- [](char c) { return c == 1; }));
+ assert(llvm::all_of(Indexes, [](char c) { return c == 1; }));
}
CloneGroups = Result;
}
OpenPOWER on IntegriCloud