From 3117b17bc57c174ab44b42350eac2b2bc6f6dcd3 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sat, 20 Oct 2018 17:53:42 +0000 Subject: Use llvm::{all,any,none}_of instead std::{all,any,none}_of. NFC llvm-svn: 344859 --- clang/lib/Analysis/CloneDetection.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang/lib/Analysis/CloneDetection.cpp') 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; } -- cgit v1.2.3