summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2018-09-20 04:27:32 +0000
committerDean Michael Berris <dberris@google.com>2018-09-20 04:27:32 +0000
commitb569e7e828bb4e89b69e1e1620693a26d8da2dfa (patch)
tree26ef8ed18c2fa1f949938cf3c43fdb038e7c279a /llvm/utils
parentcae9425a3c4a2af6a306c1aa5c8acfd27136f3fc (diff)
downloadbcm5719-llvm-b569e7e828bb4e89b69e1e1620693a26d8da2dfa.tar.gz
bcm5719-llvm-b569e7e828bb4e89b69e1e1620693a26d8da2dfa.zip
[unittests] Do not use llvm::sort in googlemock
Summary: This reverts r329475 which applied to googlemock. This change makes the googlemock implementation in LLVM dependent on LLVM unnecessarily. Reviewers: echristo, mgrang Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D52287 llvm-svn: 342612
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h b/llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h
index 9f001c9e63c..749a30e4e6d 100644
--- a/llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h
+++ b/llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h
@@ -2654,7 +2654,7 @@ class WhenSortedByMatcher {
LhsStlContainerReference lhs_stl_container = LhsView::ConstReference(lhs);
::std::vector<LhsValue> sorted_container(lhs_stl_container.begin(),
lhs_stl_container.end());
- ::llvm::sort(
+ ::std::sort(
sorted_container.begin(), sorted_container.end(), comparator_);
if (!listener->IsInterested()) {
OpenPOWER on IntegriCloud