[libcxx-commits] [libcxx] b91365e - [libc++][NFC] Remove unused helper function in the test suite

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Aug 27 08:47:39 PDT 2021


Author: Louis Dionne
Date: 2021-08-27T11:47:33-04:00
New Revision: b91365e0f1611323cfe460f71e189d3566709804

URL: https://github.com/llvm/llvm-project/commit/b91365e0f1611323cfe460f71e189d3566709804
DIFF: https://github.com/llvm/llvm-project/commit/b91365e0f1611323cfe460f71e189d3566709804.diff

LOG: [libc++][NFC] Remove unused helper function in the test suite

Added: 
    

Modified: 
    libcxx/test/support/test_range.h

Removed: 
    


################################################################################
diff  --git a/libcxx/test/support/test_range.h b/libcxx/test/support/test_range.h
index 11fecf1770ec..a9b88621e16b 100644
--- a/libcxx/test/support/test_range.h
+++ b/libcxx/test/support/test_range.h
@@ -62,10 +62,4 @@ struct test_view : std::ranges::view_base {
   sentinel end() const;
 };
 
-template<template<class...> class I, class R>
-constexpr auto make_archetype_range(R&& r) {
-  return std::ranges::subrange(I(std::ranges::begin(r)), sentinel_wrapper(std::ranges::end(r)));
-}
-
-
 #endif // LIBCXX_TEST_SUPPORT_TEST_RANGE_H


        


More information about the libcxx-commits mailing list