[libcxx-commits] [libcxx] [libc++][chrono] Applied `[[nodiscard]]` to clocks (PR #174120)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 6 01:27:10 PST 2026


================
@@ -6,21 +6,22 @@
 //
 //===----------------------------------------------------------------------===//
 
-// Check that format functions are marked [[nodiscard]] as a conforming extension
-
-// UNSUPPORTED: c++03, c++11, c++14, c++17
 // UNSUPPORTED: no-filesystem, no-localization, no-tzdb
 
 // XFAIL: libcpp-has-no-experimental-tzdb
 // XFAIL: availability-tzdb-missing
----------------
frederick-vs-ja wrote:

I _think_ it's possible to remove these and use guards (provided in `test_macros.h`) instead.

https://github.com/llvm/llvm-project/pull/174120


More information about the libcxx-commits mailing list