[llvm-branch-commits] [libcxx] [libc++] Implements the new FTM documentation generator. (PR #139774)

2025-05-13 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/139774 The new documentation will look like https://discourse.llvm.org/t/rfc-improving-the-feature-test-macro-status-page/78327/5?u=mordante Rate limit · GitHub body { b

[llvm-branch-commits] [libcxx] [libc++] Adds a FTM v2 data file generator. (PR #134555)

2025-04-12 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante edited https://github.com/llvm/llvm-project/pull/134555 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] release/20.x: [libc++] Fix misplaced _LIBCPP_POP_MACROS (#134874) (PR #134895)

2025-04-11 Thread Mark de Wever via llvm-branch-commits
mordante wrote: > Are these test failures relevant? No there was an issue with the AIX-32 build bot last week. https://github.com/llvm/llvm-project/pull/134895 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.

[llvm-branch-commits] [llvm] [libc++][CI] Pin the XCode version. (PR #135412)

2025-04-11 Thread Mark de Wever via llvm-branch-commits
mordante wrote: I agree Louis should chime in when he's back. I just want to make sure we have a patch to pin this so things remain stable until that time. It seems this broke when switching from the 16.3 beta/rc? 1.to the final version. I've added the bug report to my list of things to discus

[llvm-branch-commits] [llvm] [libc++][CI] Pin the XCode version. (PR #135412)

2025-04-11 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/135412 This version is the current version, to avoid unplanned automatic updates in the future pin this version. >From 3ba88a658be638776bbf54da3f1a0d41fe8756c1 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Fri,

[llvm-branch-commits] Add pointer field protection feature. (PR #133538)

2025-04-09 Thread Mark de Wever via llvm-branch-commits
mordante wrote: > > in libc++ we have a pre-commit CI so this feature should be tested in our > > CI, if you need help with that, best reach out to us on Discord. However I > > think we first need to look at how we can properly integrate this in libc++. > > Sure, I will get in touch once this

[llvm-branch-commits] Add pointer field protection feature. (PR #133538)

2025-04-09 Thread Mark de Wever via llvm-branch-commits
@@ -1215,6 +1215,29 @@ typedef __char32_t char32_t; #define _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER 0 # endif +# if __has_feature(pointer_field_protection) mordante wrote: Since this feature is an ABI break, it will cause ODR violations to these structs. I

[llvm-branch-commits] Add pointer field protection feature. (PR #133538)

2025-04-09 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante requested changes to this pull request. Some comments from libc++'s perspective: - As you mentioned you need more tests. - I think the current approach with a header only libc++ change approach will not work due to ABI changes. See review comment for `std::vector`. -

[llvm-branch-commits] Add pointer field protection feature. (PR #133538)

2025-04-09 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante edited https://github.com/llvm/llvm-project/pull/133538 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] Add pointer field protection feature. (PR #133538)

2025-04-09 Thread Mark de Wever via llvm-branch-commits
@@ -1215,6 +1215,29 @@ typedef __char32_t char32_t; #define _LIBCPP_HAS_EXPLICIT_THIS_PARAMETER 0 # endif +# if __has_feature(pointer_field_protection) +// Force a class to be non-standard layout by giving it two bases with the same +// type. This is useful when structur

[llvm-branch-commits] Add pointer field protection feature. (PR #133538)

2025-04-09 Thread Mark de Wever via llvm-branch-commits
@@ -84,7 +84,7 @@ _LIBCPP_PUSH_MACROS _LIBCPP_BEGIN_NAMESPACE_STD template */> -class _LIBCPP_TEMPLATE_VIS vector { +class _LIBCPP_TEMPLATE_VIS vector _LIBCPP_MAYBE_FORCE_NONSTANDARD_LAYOUT { mordante wrote: `std::vector` is used in the libc++ dylib across t

[llvm-branch-commits] [libcxx] libcxx: In gdb test detect execute_mi with feature check instead of version check. (PR #132291)

2025-04-09 Thread Mark de Wever via llvm-branch-commits
mordante wrote: @philnik777 FWIW I also see a normal diff in the webui. https://github.com/llvm/llvm-project/pull/132291 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch

[llvm-branch-commits] [libcxx] release/20.x: [libc++] Fix misplaced _LIBCPP_POP_MACROS (#134874) (PR #134895)

2025-04-08 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante approved this pull request. LGTM! https://github.com/llvm/llvm-project/pull/134895 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++] Adds a FTM v2 data file generator. (PR #134555)

2025-04-06 Thread Mark de Wever via llvm-branch-commits
@@ -2579,11 +2639,32 @@ def generate_header_test_directory(self, path: os.path) -> None: def main(): +# +# Note this generator switches from the data structures in this file (v1) +# to data structures in an external json file (v2). This project is in its +# t

[llvm-branch-commits] [libcxx] [libc++] Implements the new FTM header test generator. (PR #134542)

2025-04-06 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/134542 This generator has almost identical output to the existing script. Notable differences are - conditionally include not yet implemented headers - removes the synopsis - uses 2 spaces indent in `# if` There are

[llvm-branch-commits] [libcxx] [libc++] Adds is_implemented function for new ftm generator. (PR #134538)

2025-04-06 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/134538 At the moment the ftm macro for __cpp_lib_to_chars will have the following values: standard_ftms: { "c++17": "201611L", "c++20": "201611L", "c++23": "201611L", "c++26": "201611L", } implemente

[llvm-branch-commits] [libcxx] release/20.x: [libcxx] [test] Fix restoring LLVM_DIR and Clang_DIR (#132838) (PR #133153)

2025-03-27 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante approved this pull request. LGTM! https://github.com/llvm/llvm-project/pull/133153 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][format] Implements P3107R5 in . (PR #130500)

2025-03-17 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/130500 >From c132aa555a38efde9b04c2a3f435ba598778c28d Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH 1/3] [libc++][format] Implements P3107R5 in . The followup pape

[llvm-branch-commits] [libcxx] [libc++][format] Implements P3107R5 in . (PR #130500)

2025-03-16 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/130500 >From c132aa555a38efde9b04c2a3f435ba598778c28d Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH 1/3] [libc++][format] Implements P3107R5 in . The followup pape

[llvm-branch-commits] [libcxx] [libc++][format] Implements P3107R5 in . (PR #130500)

2025-03-16 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/130500 >From c132aa555a38efde9b04c2a3f435ba598778c28d Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH 1/3] [libc++][format] Implements P3107R5 in . The followup pape

[llvm-branch-commits] [libcxx] [libc++][format] Implements P3107R5 in . (PR #130500)

2025-03-15 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/130500 >From f3b052aa1bbc633655108e6e3a432c820169d96f Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH] [libc++][format] Implements P3107R5 in . The followup paper P3

[llvm-branch-commits] [libcxx] [libc++][format] Implements P3107R5 in . (PR #130500)

2025-03-14 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/130500 >From c132aa555a38efde9b04c2a3f435ba598778c28d Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH 1/2] [libc++][format] Implements P3107R5 in . The followup pape

[llvm-branch-commits] [libcxx] [libc++] Clang-tidy operator& hijacker. (PR #128366)

2025-03-14 Thread Mark de Wever via llvm-branch-commits
@@ -0,0 +1,47 @@ +//===--===// +// +// 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: Apac

[llvm-branch-commits] [libcxx] [libc++][format] Implements P3107R5 in . (PR #130500)

2025-03-13 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/130500 >From c132aa555a38efde9b04c2a3f435ba598778c28d Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH 1/2] [libc++][format] Implements P3107R5 in . The followup pape

[llvm-branch-commits] [libcxx] [libc++][format] Implements P3107R5 in . (PR #130500)

2025-03-13 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/130500 >From c132aa555a38efde9b04c2a3f435ba598778c28d Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH 1/2] [libc++][format] Implements P3107R5 in . The followup pape

[llvm-branch-commits] [libcxx] [libc++] Clang-tidy operator& hijacker. (PR #128366)

2025-03-12 Thread Mark de Wever via llvm-branch-commits
mordante wrote: > This check should be in regular Clang Tidy, using of `std::addressof` actual > not only for libbcpp, any user-writted code might follow the guidline to use > `std::addressof` instead of `operator&` for a generic type. For example, the > Boost library: > https://github.com/bo

[llvm-branch-commits] [libcxx] [libc++][format] Implements P3107R5 in . (PR #130500)

2025-03-11 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/130500 >From 4bd6795cb216306d4b4a1993057f651a3d6e734b Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH] [libc++][format] Implements P3107R5 in . The followup paper P3

[llvm-branch-commits] [libcxx] [libc++][format] Implements P3107R5 in . (PR #130500)

2025-03-11 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/130500 >From 3efe358f31aa13267142dd40a0eb7f401ba65794 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH] [libc++][format] Implements P3107R5 in . The followup paper P3

[llvm-branch-commits] [libcxx] [libc++][format] Implements P3107R5 in . (PR #130500)

2025-03-11 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/130500 >From 053213aa92526e6fccb5824ac2e3e704cebb9a7a Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH] [libc++][format] Implements P3107R5 in . The followup paper P3

[llvm-branch-commits] [libcxx] [libc++][format] Implements P3107R5 in . (PR #130500)

2025-03-11 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/130500 >From 17b0a346132bcc65de1aefc4d4654bd00e1e473d Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH] [libc++][format] Implements P3107R5 in . The followup paper P3

[llvm-branch-commits] [libcxx] [libc++][format] Implements P3107R5 in . (PR #130500)

2025-03-11 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/130500 >From 3858aba918b9c3d472567367688c67bc6fa08d6b Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH] [libc++][format] Implements P3107R5 in . The followup paper P3

[llvm-branch-commits] [libcxx] [libc++][format] Implements P3107R5 in . (PR #130500)

2025-03-09 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/130500 The followup paper P3235R3 which is voted in as a DR changes the names foo_locking to foo_buffered. These changes have been applied in this patch. Before ---

[llvm-branch-commits] [libcxx] [libc++][CI] Update action runner base image. (PR #130433)

2025-03-08 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/130433 Updates to the latest release. The side effect of this change is updating all compilers to the latest upstream version. >From 02c75830fe16e7de91d8406d9422575bc560fac2 Mon Sep 17 00:00:00 2001 From: Mark de Wev

[llvm-branch-commits] [libcxx] [libc++] Clang-tidy operator& hijacker. (PR #128366)

2025-02-22 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/128366 >From ab09f9dfbc3ee01af586b8a5285ac72b4f35e2f9 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sun, 16 Feb 2025 12:07:44 +0100 Subject: [PATCH] [libc++] Clang-tidy operator& hijacker. Guards against introdu

[llvm-branch-commits] [libcxx] [libc++] Clang-tidy operator& hijacker. (PR #128366)

2025-02-22 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/128366 Guards against introducing new places where operator& depends on a template type. >From 5a96aadb54b757812dc48f07e753477164d8062a Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sun, 16 Feb 2025 12:07:44 +0

[llvm-branch-commits] [libcxx] [NFC][libc++] Guard agains operator& hijacking. (PR #128351)

2025-02-22 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/128351 This set usage of operator& instead of std::addressof seems not be easy to "abuse". Some seem easy to misuse, like basic_ostream::operator<<, trying to do that results in compilation errors since the `widen` f

[llvm-branch-commits] [libcxx] [NFC][libc++] Guard against operator& hijacking. (PR #128351)

2025-02-22 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante edited https://github.com/llvm/llvm-project/pull/128351 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [NFC][libc++] Guard agains operator& hijacking. (PR #128351)

2025-02-22 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/128351 >From 05c33c80b15e9f1cd27206f31ff69add583f72af Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sun, 16 Feb 2025 13:25:15 +0100 Subject: [PATCH] [NFC][libc++] Guard agains operator& hijacking. This set usage

[llvm-branch-commits] [libcxx] [NFC][libc++] Guard agains operator& hijacking. (PR #128351)

2025-02-22 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/128351 >From 921a76f2275b2bde219a9f0a7a434da1f22294f9 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sun, 16 Feb 2025 13:25:15 +0100 Subject: [PATCH] [NFC][libc++] Guard agains operator& hijacking. This set usage

[llvm-branch-commits] [libcxx] [libc++] Make benchmarks dry-run by default on the release branch (PR #126441)

2025-02-10 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante approved this pull request. Thanks, LGTM! https://github.com/llvm/llvm-project/pull/126441 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-c

[llvm-branch-commits] [libcxx] [libc++][chrono] implements GPS clock. (PR #125921)

2025-02-05 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/125921 Completes: - LWG3359 leap second support should allow for negative leap seconds Implements parts of: - P0355 Extending to Calendars and Time Zones - P1361 Integration of chrono with text formatting NOTE The

[llvm-branch-commits] [libcxx] [libc++][format][7/7] Cleans up the buffer code. (PR #101876)

2025-01-25 Thread Mark de Wever via llvm-branch-commits
mordante wrote: Abandoned, done in a different patch. https://github.com/llvm/llvm-project/pull/101876 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][format][7/7] Cleans up the buffer code. (PR #101876)

2025-01-25 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante closed https://github.com/llvm/llvm-project/pull/101876 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][format][6/7] Optimizes formatted_size. (PR #101835)

2025-01-25 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante closed https://github.com/llvm/llvm-project/pull/101835 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][format][6/7] Optimizes formatted_size. (PR #101835)

2025-01-25 Thread Mark de Wever via llvm-branch-commits
mordante wrote: Abandoned, done in a different patch. https://github.com/llvm/llvm-project/pull/101835 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][format][5/7] Improve std::format_to_n (PR #101831)

2025-01-25 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante closed https://github.com/llvm/llvm-project/pull/101831 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][format][5/7] Improve std::format_to_n (PR #101831)

2025-01-25 Thread Mark de Wever via llvm-branch-commits
mordante wrote: Abandoned, done in a different patch. https://github.com/llvm/llvm-project/pull/101831 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][format][4/7] Improves std::format_to performance. (PR #101823)

2025-01-25 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante closed https://github.com/llvm/llvm-project/pull/101823 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][format][4/7] Improves std::format_to performance. (PR #101823)

2025-01-25 Thread Mark de Wever via llvm-branch-commits
mordante wrote: Abandoned, done in a different patch. https://github.com/llvm/llvm-project/pull/101823 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] release/18.x: [libcxx] Align `__recommend() + 1` by __endian_factor (#90292) (PR #95264)

2024-12-27 Thread Mark de Wever via llvm-branch-commits
mordante wrote: > Do we need to merge this manually? GitHub's UI does not allow to merge the > PR. :) I expect this requires by @tstellar (the release manager). https://github.com/llvm/llvm-project/pull/95264 ___ llvm-branch-commits mailing list llvm

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-25 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/108990 >From d435a3118ffe1cca91eff7eeea19f4bc243384c4 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH] [libc++][format][3/3] Improves formatting performance. This ch

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-17 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/108990 This changes the __output_buffer to a new structure. This improves the performace of std::format, std::format_to, std::format_to_n, and std::foramtted size. >From e9cb2219350496392980b6347d30f6a34abe2197 Mon

[llvm-branch-commits] [libcxx] [libc++][format][2/7] Optimizes c-string arguments. (PR #101805)

2024-09-17 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/101805 >From 9c7c29854dd7446c730bb4d15a97a58a829dfa47 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH] [libc++][format][2/7] Optimizes c-string arguments. The format

[llvm-branch-commits] [libcxx] [libc++][format][2/7] Optimizes c-string arguments. (PR #101805)

2024-08-13 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante edited https://github.com/llvm/llvm-project/pull/101805 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] Cherry-pick fixes to std::hypot for PowerPC (PR #102052)

2024-08-12 Thread Mark de Wever via llvm-branch-commits
mordante wrote: > @ldionne this has some suspect CI failures, can you double check and approve > if this is ready to go? I just restarted the bootstrap build. AIX's `std/re/re.traits/transform.pass.cpp` seems now to magically pass. I recently fixed this by removing XFAIL in main. https://gith

[llvm-branch-commits] [libcxx] [libc++][bit] Improves rotate functions. (#98032) (PR #101892)

2024-08-04 Thread Mark de Wever via llvm-branch-commits
mordante wrote: This is the cherry-pick of https://github.com/llvm/llvm-project/pull/98032 https://github.com/llvm/llvm-project/pull/101892 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/l

[llvm-branch-commits] [libcxx] [libc++][bit] Improves rotate functions. (#98032) (PR #101892)

2024-08-04 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante edited https://github.com/llvm/llvm-project/pull/101892 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][bit] Improves rotate functions. (#98032) (PR #101892)

2024-08-04 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/101892 Investigating #96612 shows our implementation was different from the Standard and could cause UB. Testing the codegen showed quite a bit of assembly generated for these functions. The functions have been writt

[llvm-branch-commits] [libcxx] [libc++][bit] Improves rotate functions. (#98032) (PR #101892)

2024-08-04 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante milestoned https://github.com/llvm/llvm-project/pull/101892 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][format][7/7] Cleans up the buffer code. (PR #101876)

2024-08-04 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/101876 >From ab3ed920539794cae7ade2b4ae91f21e547517dc Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH] [libc++][format][7/7] Cleans up the buffer code. The internal

[llvm-branch-commits] [libcxx] [libc++][format][7/7] Cleans up the buffer code. (PR #101876)

2024-08-04 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/101876 The internal format buffer code shipped with LLVM 19 is no longer used and removed. This also updates parts of the documentation to reflect its proper state. >From 821eb283cd5909143511ca485cdd1eebb60246b0 Mon

[llvm-branch-commits] [libcxx] [libc++][format][6/7] Optimizes formatted_size. (PR #101835)

2024-08-03 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/101835 __formatted_size_buffer is not used in the public library interface so the changes are not an ABI break. Before -

[llvm-branch-commits] [libcxx] [libc++][format][3/7] Improves std::format performance. (PR #101817)

2024-08-03 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/101817 >From a3acb85e3fd8dd9bb4320bf028d9773d018f27b4 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH] [libc++][format][3/7] Improves std::format performance. This c

[llvm-branch-commits] [libcxx] [libc++][format][3/7] Improves std::format performance. (PR #101817)

2024-08-03 Thread Mark de Wever via llvm-branch-commits
@@ -58,23 +58,156 @@ namespace __format { /// This helper is used together with the @ref back_insert_iterator to offer /// type-erasure for the formatting functions. This reduces the number to /// template instantiations. +/// +/// The design of the class is being changed to im

[llvm-branch-commits] [libcxx] [libc++][format][2/7] Optimizes c-string arguments. (PR #101805)

2024-08-03 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/101805 The formatter specializations for _CharT* and const _CharT* typically write all elements in a loop. This format's internal functions are optimized for larger writes. Instead of writing one element at a time c

[llvm-branch-commits] [libcxx] [libc++][spaceship] Marks P1614 as complete. (#99375) (PR #100770)

2024-07-26 Thread Mark de Wever via llvm-branch-commits
mordante wrote: This is the failed cherry-pick of https://github.com/llvm/llvm-project/pull/99375 https://github.com/llvm/llvm-project/pull/100770 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/m

[llvm-branch-commits] [libcxx] [libc++][spaceship] Marks P1614 as complete. (#99375) (PR #100770)

2024-07-26 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante edited https://github.com/llvm/llvm-project/pull/100770 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][spaceship] Marks P1614 as complete. (#99375) (PR #100770)

2024-07-26 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/100770 Implements parts of: - P1902R1 Missing feature-test macros 2017-2019 Completes: - P1614R2 The Mothership has Landed Fixes #100018 >From c47152b720a81c67e186b383fa856164af265890 Mon Sep 17 00:00:00 2001 From:

[llvm-branch-commits] [libcxx] [libc++][spaceship] Marks P1614 as complete. (#99375) (PR #100770)

2024-07-26 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante milestoned https://github.com/llvm/llvm-project/pull/100770 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][spaceship] Implements X::iterator container requirements. (#… (PR #100440)

2024-07-24 Thread Mark de Wever via llvm-branch-commits
mordante wrote: Cherry-picking https://github.com/llvm/llvm-project/pull/99343 failed. https://github.com/llvm/llvm-project/pull/100440 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

[llvm-branch-commits] [libcxx] [libc++][spaceship] Implements X::iterator container requirements. (#… (PR #100440)

2024-07-24 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante edited https://github.com/llvm/llvm-project/pull/100440 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][spaceship] Implements X::iterator container requirements. (#… (PR #100440)

2024-07-24 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/100440 …99343) This implements the requirements for the container iterator requirements for array, deque, vector, and `vector`. Implements: - LWG3352 strong_equality isn't a thing Implements parts of: - P1614R2 The

[llvm-branch-commits] [libcxx] [libc++][spaceship] Implements X::iterator container requirements. (#… (PR #100440)

2024-07-24 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante milestoned https://github.com/llvm/llvm-project/pull/100440 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][spaceship] Marks P1614 as complete. (PR #99375)

2024-07-22 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/99375 >From be0f12219752be987ca6674fe384281e890520a2 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Mon, 15 Jul 2024 07:45:02 +0200 Subject: [PATCH] [libc++][spaceship] Marks P1614 as complete. Implements parts o

[llvm-branch-commits] [libcxx] [libc++][spaceship] Marks P1614 as complete. (PR #99375)

2024-07-20 Thread Mark de Wever via llvm-branch-commits
@@ -1,5 +1,5 @@ "Number","Name","Status","First released version" mordante wrote: This page has been shipped in several libc++ releases. I strongly like to have it shipped in one release where P1614 is finished. I already have a TODO on my private list to remo

[llvm-branch-commits] [libcxx] [libc++][spaceship] Marks P1614 as complete. (PR #99375)

2024-07-17 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante milestoned https://github.com/llvm/llvm-project/pull/99375 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][spaceship] Marks P1614 as complete. (PR #99375)

2024-07-17 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/99375 Implements parts of: - P1902R1 Missing feature-test macros 2017-2019 Completes: - P1614R2 The Mothership has Landed >From b71feb3626ccbda30d6ec8e2788c7442cf4679f9 Mon Sep 17 00:00:00 2001 From: Mark de Wever D

[llvm-branch-commits] [libcxx] [libc++][TZDB] Implements zoned_seconds typedef. (PR #95141)

2024-07-08 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/95141 >From 711d47efd989a4422e61fd400a422182868c514e Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 17 Apr 2024 21:00:22 +0200 Subject: [PATCH] [libc++][TZDB] Implements zoned_seconds typedef. Implements par

[llvm-branch-commits] [libcxx] [libc++][TZDB] Implements zoned_time's operator==. (PR #95140)

2024-07-07 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/95140 >From 24e1151d23ba3b6b72461498ababb8b0821422ae Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 17 Apr 2024 21:00:22 +0200 Subject: [PATCH] [libc++][TZDB] Implements zoned_time's operator==. Implements p

[llvm-branch-commits] [libcxx] [libc++][TZDB] Adds zoned_time deduction guides. (PR #95139)

2024-07-07 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/95139 >From 072f4561a2ee3a48dc0754f50ecdec4dbba59421 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 17 Apr 2024 21:00:22 +0200 Subject: [PATCH] [libc++][TZDB] Adds zoned_time deduction guides. Completes - LW

[llvm-branch-commits] [libcxx] [libc++][TZDB] Finishes zoned_time member functions. (PR #95026)

2024-07-07 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/95026 >From 5195d3905de900a09a9c78ee843c28f0939cdf62 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 17 Apr 2024 21:00:22 +0200 Subject: [PATCH] [libc++][TZDB] Finishes zoned_time member functions. Note the i

[llvm-branch-commits] [libcxx] [libc++][TZDB] Finishes zoned_time member functions. (PR #95026)

2024-07-07 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/95026 >From 3dcb1871f7c4281cc0adfd61f4005c686614c307 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 17 Apr 2024 21:00:22 +0200 Subject: [PATCH] [libc++][TZDB] Finishes zoned_time member functions. Note the i

[llvm-branch-commits] [libcxx] [libc++][TZDB] Finishes zoned_time constructors. (PR #95010)

2024-07-07 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/95010 >From 6d6dade0997a414431bf852742cd68c24d274e27 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 17 Apr 2024 21:00:22 +0200 Subject: [PATCH] [libc++][TZDB] Finishes zoned_time constructors. Completes - LW

[llvm-branch-commits] [libcxx] [libc++][TZDB] Finishes zoned_time constructors. (PR #95010)

2024-07-07 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante commented: > Peanut gallery comment: it would be very cool if `zoned_time` could make it > for libcxx 19; 🤞 It's IMO one of the most useful classes in ``. I hope to get `zoned_time` and the missing clocks ready before LLVM-19. However it will be closer to the deadli

[llvm-branch-commits] [libcxx] [libc++][TZDB] Finishes zoned_time constructors. (PR #95010)

2024-07-07 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante edited https://github.com/llvm/llvm-project/pull/95010 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][TZDB] Finishes zoned_time constructors. (PR #95010)

2024-07-07 Thread Mark de Wever via llvm-branch-commits
@@ -76,12 +81,71 @@ class zoned_time { _LIBCPP_HIDE_FROM_ABI explicit zoned_time(string_view __name) requires(requires { __traits::locate_zone(string_view{}); } && - // constructible_from - // would create a dependency on itself. Instead depend on

[llvm-branch-commits] [libcxx] Mark test as long_tests (PR #95266)

2024-06-12 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante commented: This looks like a duplicate of #95170. https://github.com/llvm/llvm-project/pull/95266 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-b

[llvm-branch-commits] [libcxx] [libc++][TZDB] Implements zoned_seconds typedef. (PR #95141)

2024-06-11 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/95141 Implements parts of: - P0355 Extending to chrono Calendars and Time Zones >From e12d4507b0cad67dec69aa8d683fb0c5aca82939 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 17 Apr 2024 21:00:22 +0200 Subjec

[llvm-branch-commits] [libcxx] [libc++][TZDB] Implements zoned_time's operator==. (PR #95140)

2024-06-11 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/95140 Implements parts of: - P0355 Extending to chrono Calendars and Time Zones - P1614R2 The Mothership has Landed >From 86dc932d92a960a102a60801419c8d0624f197aa Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: We

[llvm-branch-commits] [libcxx] [libc++][TZDB] Adds zoned_time deduction guides. (PR #95139)

2024-06-11 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/95139 Completes - LWG3232 Inconsistency in zoned_time deduction guides - LWG3294 zoned_time deduction guides misinterprets stringchar* Implements parts of: - P0355 Extending to chrono Calendars and Time Zones >From

[llvm-branch-commits] [libcxx] [libc++][TZDB] Finishes zoned_time member functions. (PR #95026)

2024-06-10 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/95026 >From ad83e31016100fede20971e7ac16dbdd8137504d Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 17 Apr 2024 21:00:22 +0200 Subject: [PATCH] [libc++][TZDB] Finishes zoned_time member functions. Note the i

[llvm-branch-commits] [libcxx] [libc++][TZDB] Finishes zoned_time member functions. (PR #95026)

2024-06-10 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/95026 Note the implementation of zoned_time& operator=(const local_time& lt); is not correct; however the wording cannot be easily implemented. It could be if the object caches the local_time assigned. However this

[llvm-branch-commits] [libcxx] [libc++][TZDB] Finishes zoned_time constructors. (PR #95010)

2024-06-10 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/95010 >From e374d900e2b3524b466013d61b9c3911c862c8fa Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 17 Apr 2024 21:00:22 +0200 Subject: [PATCH] [libc++][TZDB] Finishes zoned_time constructors. Completes - LW

[llvm-branch-commits] [libcxx] [libc++][TZDB] Finishes zoned_time constructors. (PR #95010)

2024-06-10 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/95010 >From edac5048367b80622007cbd199483cc2eda29efb Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 17 Apr 2024 21:00:22 +0200 Subject: [PATCH] [libc++][TZDB] Finishes zoned_time constructors. Completes - LW

[llvm-branch-commits] [libcxx] [libc++][TZDB] Finishes zoned_time constructors. (PR #95010)

2024-06-10 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/95010 >From fc3076706f093903ab298fc934d848e9dd58bf51 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 17 Apr 2024 21:00:22 +0200 Subject: [PATCH] [libc++][TZDB] Finishes zoned_time constructors. Completes - LW

[llvm-branch-commits] [libcxx] [libc++][TZDB] Finishes zoned_time constructors. (PR #95010)

2024-06-10 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/95010 Completes - LWG3225 zoned_time converting constructor shall not be noexcept - LWG3226 zoned_time constructor from string_view should accept zoned_time Implements parts of: - P0355 Extending to chrono Calendars

[llvm-branch-commits] [libcxx] [libc++][TZDB] Implements zoned_traits. (PR #91059)

2024-05-04 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/91059 Implements parts of: - P0355 Extending chrono to Calendars and Time Zones >From 0a602d2268923936a62034faaaf10f2401457d99 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 17 Apr 2024 21:00:22 +0200 Subjec

[llvm-branch-commits] [libcxx] [libc++][TZDB] Implements time_zone::to_local. (PR #91003)

2024-05-03 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/91003 Implements parts of: - P0355 Extending chrono to Calendars and Time Zones >From 5f205f7478a13a6f7034808dff390c3fe87564dc Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 17 Apr 2024 21:00:22 +0200 Subjec

[llvm-branch-commits] [libcxx] [libc++][TZDB] Implements time_zone::to_sys. (PR #90901)

2024-05-03 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/90901 >From 775f5459258db3416e90dbe0f8b0ee24f7125e95 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 17 Apr 2024 21:00:22 +0200 Subject: [PATCH] [libc++][TZDB] Implements time_zone::to_sys. This implements th

[llvm-branch-commits] [libcxx] [libc++][TZDB] Implements time_zone::to_sys. (PR #90901)

2024-05-02 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/90901 This implements the overload with the choose argument and adds this enum. Implements parts of: - P0355 Extending chrono to Calendars and Time Zones >From b888e3cc20a9198578348ac3bf3f6d505425a63c Mon Sep 17 00:0

  1   2   3   >