[libcxx-commits] [PATCH] D142951: [libc++][ranges] Fix incorrect integer typedef in `elements_view` test.

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 31 11:08:10 PST 2023


ldionne accepted this revision.
ldionne added inline comments.


================
Comment at: libcxx/test/std/ranges/range.adaptors/range.elements/sentinel/minus.pass.cpp:26
 #include <tuple>
 
 #include "../types.h"
----------------



================
Comment at: libcxx/test/std/ranges/range.adaptors/range.elements/sentinel/minus.pass.cpp:34
   using value_type       = std::tuple<int>;
-  using difference_type  = intptr_t;
+  using difference_type  = ptrdiff_t;
   using iterator_concept = std::input_iterator_tag;
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142951



More information about the libcxx-commits mailing list