[libcxx-commits] [libcxx] [libc++] Add missing C++20 [time.point.arithmetic] (PR #143165)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jun 9 06:00:00 PDT 2025
================
@@ -0,0 +1,39 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+// UNSUPPORTED: c++03, c++11, c++14, c++17
+
+// <chrono>
+
+// time_point
+
+// constexpr time_point& operator++();
+
+#include <chrono>
+#include <cassert>
----------------
maflcko wrote:
ah, I used clang-format, but I see sorting is disabled. I think it could make sense to disable sorting on only the tests that need it unsorted: This could be achieved by adding newlines to break the clang-format sorting (as it doesn't go over sections)
https://github.com/llvm/llvm-project/pull/143165
More information about the libcxx-commits
mailing list