[all-commits] [llvm/llvm-project] 937643: [libc++][test] Fixes constexpr char_traits. (#90981)

Mark de Wever via All-commits all-commits at lists.llvm.org
Thu May 9 09:39:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 937643b8e1017ce6456de0c05b1673bd9ed0800d
      https://github.com/llvm/llvm-project/commit/937643b8e1017ce6456de0c05b1673bd9ed0800d
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-05-09 (Thu, 09 May 2024)

  Changed paths:
    M libcxx/test/support/constexpr_char_traits.h
    M libcxx/test/support/nasty_string.h

  Log Message:
  -----------
  [libc++][test] Fixes constexpr char_traits. (#90981)

The issue in nasty_char_traits was discovered by @StephanTLavavej who
provided
the solution they use in MSVC STL. This solution is based on that
example.

The same issue affects the constexpr_char_traits which was discovered in
https://github.com/llvm/llvm-project/pull/88389. This uses the same fix.

Fixes: https://github.com/llvm/llvm-project/issues/74221



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list