Retire llvm::less/equal in favor of C++14 std::less<>/equal_to<>.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@369674 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/clang-doc/Representation.h b/clang-doc/Representation.h
index 5585773..676bf18 100644
--- a/clang-doc/Representation.h
+++ b/clang-doc/Representation.h
@@ -61,7 +61,7 @@
return false;
return std::equal(Children.begin(), Children.end(), Other.Children.begin(),
- llvm::deref<llvm::equal>{});
+ llvm::deref<std::equal_to<>>{});
}
// This operator is used to sort a vector of CommentInfos.
@@ -82,7 +82,7 @@
if (FirstCI == SecondCI) {
return std::lexicographical_compare(
Children.begin(), Children.end(), Other.Children.begin(),
- Other.Children.end(), llvm::deref<llvm::less>());
+ Other.Children.end(), llvm::deref<std::less<>>());
}
return false;