[all-commits] [llvm/llvm-project] 51aab9: [libc++][test] Small fixes for time tests (#132532)

Stephan T. Lavavej via All-commits all-commits at lists.llvm.org
Sat Mar 22 06:39:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51aab96ebfc309caef9f98841a8b14848e6c5077
      https://github.com/llvm/llvm-project/commit/51aab96ebfc309caef9f98841a8b14848e6c5077
  Author: Stephan T. Lavavej <stl at nuwen.net>
  Date:   2025-03-22 (Sat, 22 Mar 2025)

  Changed paths:
    M libcxx/test/std/time/time.clock/time.clock.gps/types.compile.pass.cpp
    M libcxx/test/std/time/time.clock/time.clock.tai/types.compile.pass.cpp
    M libcxx/test/std/time/time.syn/formatter.tai_time.pass.cpp

  Log Message:
  -----------
  [libc++][test] Small fixes for time tests (#132532)

* Fix copy-paste damage in `formatter.tai_time.pass.cpp`.
+ Comparing the `#if` to the `#else` case, it's clear that this
half-copied check should be removed.
* Mark `is_steady` as `[[maybe_unused]]`.
  + It's only used within `LIBCPP_STATIC_ASSERT`.



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