[libcxx-commits] [PATCH] D108321: [SystemZ][z/OS] Avoid assumption for character value in futures tests

Muiez Ahmed via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Aug 18 12:37:15 PDT 2021


muiez created this revision.
muiez added a reviewer: libc++.
muiez requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added 1 blocking reviewer(s): libc++.

The aim of this patch is to remove the assumption that the character 'a' is always 97. In turn, this patch avoids hardcoding the sum of values where a = 97 to account for the EBCDIC 'a' != 97.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108321

Files:
  libcxx/test/std/thread/futures/futures.task/futures.task.members/assign_move.pass.cpp
  libcxx/test/std/thread/futures/futures.task/futures.task.members/ctor_func.pass.cpp
  libcxx/test/std/thread/futures/futures.task/futures.task.members/ctor_move.pass.cpp
  libcxx/test/std/thread/futures/futures.task/futures.task.members/dtor.pass.cpp
  libcxx/test/std/thread/futures/futures.task/futures.task.members/get_future.pass.cpp
  libcxx/test/std/thread/futures/futures.task/futures.task.members/make_ready_at_thread_exit.pass.cpp
  libcxx/test/std/thread/futures/futures.task/futures.task.members/operator.pass.cpp
  libcxx/test/std/thread/futures/futures.task/futures.task.members/reset.pass.cpp
  libcxx/test/std/thread/futures/futures.task/futures.task.members/swap.pass.cpp
  libcxx/test/std/thread/futures/futures.task/futures.task.nonmembers/swap.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108321.367301.patch
Type: text/x-patch
Size: 7429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210818/76183b92/attachment.bin>


More information about the libcxx-commits mailing list