[all-commits] [llvm/llvm-project] bb1d15: [libc++] Refactor some .fail.cpp tests and fix tim...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Thu Sep 25 00:25:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb1d15e84624784b2c3e652ac666e3be4272d8f2
      https://github.com/llvm/llvm-project/commit/bb1d15e84624784b2c3e652ac666e3be4272d8f2
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-09-25 (Thu, 25 Sep 2025)

  Changed paths:
    M libcxx/include/__chrono/time_point.h
    M libcxx/include/__cxx03/__chrono/time_point.h
    R libcxx/test/std/time/time.duration/time.duration.alg/abs.compile.fail.cpp
    M libcxx/test/std/time/time.duration/time.duration.alg/abs.pass.cpp
    R libcxx/test/std/time/time.point/time.point.cast/ceil.compile.fail.cpp
    M libcxx/test/std/time/time.point/time.point.cast/ceil.pass.cpp
    R libcxx/test/std/time/time.point/time.point.cast/floor.compile.fail.cpp
    M libcxx/test/std/time/time.point/time.point.cast/floor.pass.cpp
    R libcxx/test/std/time/time.point/time.point.cast/round.compile.fail.cpp
    M libcxx/test/std/time/time.point/time.point.cast/round.pass.cpp
    M libcxx/test/std/time/time.point/time.point.cast/time_point_cast.pass.cpp
    R libcxx/test/std/time/time.point/time.point.cast/toduration.compile.fail.cpp

  Log Message:
  -----------
  [libc++] Refactor some .fail.cpp tests and fix time_point_cast not SFINAEing away (#159288)

All of the `.fail.cpp` tests are actually testing constraints, so we
should just test that the overloads SFINAE away correctly.



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