[libcxx-commits] [PATCH] D116384: [libc++] [ranges] Simplify our idiom for testing niebloid-ness.

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 3 17:34:50 PST 2022


Quuxplusone updated this revision to Diff 397166.
Quuxplusone retitled this revision from "[libc++] Eliminate `__function_like`." to "[libc++] [ranges] Simplify our idiom for testing niebloid-ness.".
Quuxplusone edited the summary of this revision.
Quuxplusone added a comment.

Defer the code diff; this is now just the test diffs.

  [libc++] [ranges] Simplify our idiom for testing niebloid-ness.
  
  In the test files, replace the old-style tests with a simple static_assert,
  matching the current style as depicted in e.g.
  `ranges_uninitialized_default_construct.pass.cpp`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116384/new/

https://reviews.llvm.org/D116384

Files:
  libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/special_function.compile.pass.cpp
  libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/special_function.compile.pass.cpp
  libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/special_function.compile.pass.cpp
  libcxx/test/support/test_standard_function.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116384.397166.patch
Type: text/x-patch
Size: 12058 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220104/63991631/attachment-0001.bin>


More information about the libcxx-commits mailing list