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

2024-04-28 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/90394 This implements the throwing overload and the exception classes throw by this overload. Implements parts of: - P0355 Extending chrono to Calendars and Time Zones >From e722747d35b87cbcf8e12847c799f87a6082bb73

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

2024-04-28 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/90394 >From c0cdd074a1e22c3d35f2e235cfd6f0bf74b406dc 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 #90394)

2024-04-28 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/90394 >From e0f5f099af76108a1b3de6b2735e084047e029c0 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 #90394)

2024-05-01 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/90394 >From fe9a4ce7f13e981d1ebcdfb088e16da686e22ea1 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++][chrono] implements UTC clock. (PR #90393)

2024-05-01 Thread Mark de Wever via llvm-branch-commits
@@ -0,0 +1,155 @@ +// -*- C++ -*- +//===--===// +// +// 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

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

2024-05-01 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante commented: Thanks for your review comments. https://github.com/llvm/llvm-project/pull/90393 ___ 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] [libc++][chrono] implements UTC clock. (PR #90393)

2024-05-01 Thread Mark de Wever via llvm-branch-commits
@@ -0,0 +1,124 @@ +//===--===// +// +// 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: Apa

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

2024-05-01 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante edited https://github.com/llvm/llvm-project/pull/90393 ___ 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++][chrono] implements UTC clock. (PR #90393)

2024-05-01 Thread Mark de Wever via llvm-branch-commits
@@ -0,0 +1,1004 @@ +//===--===// +// 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

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

2024-05-02 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/90394 >From e72a966c0aca3319d7aea43d3a9dd4cc25eaeb70 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 #90394)

2024-05-02 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/90394 >From d7b42718303e017acfe3e61c67d6e8a9bb0ffa9d 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] release/18.x: [libcxx] [modules] Add _LIBCPP_USING_IF_EXISTS on aligned_alloc (#89827) (PR #89894)

2024-05-02 Thread Mark de Wever via llvm-branch-commits
mordante wrote: I don't feel like this needs a release note. https://github.com/llvm/llvm-project/pull/89894 ___ 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] 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

[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_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 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++][modules] Adds module testing. (PR #76246)

2023-12-22 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante edited https://github.com/llvm/llvm-project/pull/76246 ___ 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++][modules] Increase clang-tidy version used. (PR #76268)

2023-12-22 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/76268 As suggested in #71438 we should use export import std; in the std.compat module. Testing this locally failed when building with the clang-tidy-17 plugin. The std module was considered corrupt in the test l

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2023-12-23 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/76246 >From fe2406d5fb6c01db9efadc9107c94585a6051c8a Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 20 Dec 2023 20:43:38 +0100 Subject: [PATCH] [libc++][modules] Adds module testing. This adds a new module t

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2023-12-23 Thread Mark de Wever via llvm-branch-commits
mordante wrote: > If you are okay with the suggestions that I made for some typos in the > documentation, I will preemptively incorporate it into my documentation PR. Thanks for the suggestions! Please do no incorporate these in your PR. Other reviewers may have other suggestions which you the

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2023-12-23 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/76246 >From fe2406d5fb6c01db9efadc9107c94585a6051c8a Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 20 Dec 2023 20:43:38 +0100 Subject: [PATCH 1/2] [libc++][modules] Adds module testing. This adds a new modu

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2023-12-23 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/76246 >From fe2406d5fb6c01db9efadc9107c94585a6051c8a Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 20 Dec 2023 20:43:38 +0100 Subject: [PATCH 1/3] [libc++][modules] Adds module testing. This adds a new modu

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2023-12-23 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/76246 >From fe2406d5fb6c01db9efadc9107c94585a6051c8a Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 20 Dec 2023 20:43:38 +0100 Subject: [PATCH 1/4] [libc++][modules] Adds module testing. This adds a new modu

[llvm-branch-commits] [libcxx] [libc++][modules] Increase clang-tidy version used. (PR #76268)

2023-12-23 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/76268 >From 10dcb9404ac63bd1c10936e60f21159e7eabe38b Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Fri, 22 Dec 2023 21:43:57 +0100 Subject: [PATCH] [libc++][modules] Increase clang-tidy version used. As suggeste

[llvm-branch-commits] [libcxx] [libc++][modules] Increase clang-tidy version used. (PR #76268)

2023-12-23 Thread Mark de Wever via llvm-branch-commits
mordante wrote: > I'm really not happy with bumping the clang-tidy version we use all the time > to the trunk version. We agreed to using the latest stable version, which > we've not done way too many times now. I'd really like to first understand > what exactly the issue is that is solved by

[llvm-branch-commits] [libcxx] [libc++][modules] Fixes clang-tidy exports. (PR #76288)

2023-12-23 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/76288 As suggested in #71438 we should use export import std; in the std.compat module. Using this exports some named declarations from functions and records, adding them to the global namespace. Clang correctly, d

[llvm-branch-commits] [libcxx] [libc++][modules] Improves std.compat module. (PR #76330)

2023-12-24 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/76330 Let the std.compat module use the std module instead of duplicating the exports. Based on @ChuanqiXu9's suggestion in #71438. >From 246a8a14f125934b5e8c84b2d391db72ee4dc647 Mon Sep 17 00:00:00 2001 From: Mark d

[llvm-branch-commits] [libcxx] [libc++][modules] Improves std.compat module. (PR #76330)

2023-12-24 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/76330 >From 6134779ac0f53ed22d8ddfc14908e595eb94fb65 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sun, 24 Dec 2023 12:13:00 +0100 Subject: [PATCH] [libc++][modules] Improves std.compat module. Let the std.compa

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2023-12-24 Thread Mark de Wever via llvm-branch-commits
mordante wrote: > > > If you are okay with the suggestions that I made for some typos in the > > > documentation, I will preemptively incorporate it into my documentation > > > PR. > > > > > > Thanks for the suggestions! Please do no incorporate these in your PR. > > Other reviewers may have

[llvm-branch-commits] [libcxx] [libc++][modules] Increase clang-tidy version used. (PR #76268)

2023-12-24 Thread Mark de Wever via llvm-branch-commits
mordante wrote: It's the line `export import std;` in https://github.com/llvm/llvm-project/pull/76330/files#diff-e881fdd0e6e66610142a28228b2bbf0e38520ee7186946bca06cb8d195dcd2b4 This works with Clang-17, Clang-18, and clang-tidy-18. It fails with clang-tidy-17. Clang-tidy tests that directly us

[llvm-branch-commits] [libcxx] [libc++][modules] Increase clang-tidy version used. (PR #76268)

2023-12-24 Thread Mark de Wever via llvm-branch-commits
mordante wrote: Good point, I actually think that's true. I think we should do that in a separate PR. Maybe discuss it on Discord after the holidays. https://github.com/llvm/llvm-project/pull/76268 ___ llvm-branch-commits mailing list llvm-branch-comm

[llvm-branch-commits] [libcxx] [libc++][modules] Improves std.compat module. (PR #76330)

2023-12-27 Thread Mark de Wever via llvm-branch-commits
@@ -17,38 +17,17 @@ module; // The headers of Table 24: C++ library headers [tab:headers.cpp] // and the headers of Table 25: C++ headers for C library facilities  [tab:headers.cpp.c] -#include -#include -#include -#if !defined(_LIBCPP_HAS_NO_ATOMIC_HEADER) -# include -#e

[llvm-branch-commits] [libcxx] [libc++] Implements filebuf unbuffered. (PR #76629)

2023-12-30 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/76629 When calling setbuf(nullptr, 0) before performing file operations it should set the file to unbuffered mode. Currently the code avoids buffering internally, but the underlying stream still can buffer. This is

[llvm-branch-commits] [libcxx] [libc++] Implements filebuf unbuffered. (PR #76629)

2023-12-30 Thread Mark de Wever via llvm-branch-commits
@@ -276,6 +276,30 @@ private: state_type __st_; state_type __st_last_; ios_base::openmode __om_; + // Used to track the currently used mode and track whether the output should mordante wrote: Review note: It might be possible to use other fields to achi

[llvm-branch-commits] [libcxx] [libc++] Clang-tidy enable modernize-use-nullptr. (PR #76659)

2023-12-31 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/76659 Clang-tidy 18 no longer has false positives with the spaceship operator. Note that I'm quite sure there are more occurrences in our headers that are not caught. >From b28cb6581a371eee5e1f06da2b4d3711b501aee3 M

[llvm-branch-commits] [libcxx] [libc++][modules] Increase clang-tidy version used. (PR #76268)

2024-01-05 Thread Mark de Wever via llvm-branch-commits
mordante wrote: > > Oh shit. I just realized that this is most likely a latent bug no matter > > what. We build the module with Clang 18, and then essentially try to load > > it with Clang 17 (aka Clang Tidy 17). AFAIK that's not guaranteed to work, > > and probably just happens to work curren

[llvm-branch-commits] [libcxx] [libc++][modules] Increase clang-tidy version used. (PR #76268)

2024-01-05 Thread Mark de Wever via llvm-branch-commits
mordante wrote: > > Then I can prohibit clang-16 and clang-17. > > Yeah, that's the solution. clang-tidy defines the same version macros as > clang does, so prohibiting it from clang-16 is the same as prohibiting it for > clang-tidy 16. What makes it currently hard for modules is that in the

[llvm-branch-commits] [libcxx] [llvm] [libc++][modules] Adds module testing. (PR #76246)

2024-01-09 Thread Mark de Wever via llvm-branch-commits
@@ -131,13 +138,65 @@ def parseScript(test, preamble): script += preamble script += scriptInTest +has_std_module = False +has_std_compat_module = False +for module in modules: +if module == "std": +has_std_module = True +elif mod

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2024-01-09 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/76246 >From 196cedd36534b02a7c55cf4a1746b34f87ead467 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 20 Dec 2023 20:43:38 +0100 Subject: [PATCH 1/2] [libc++][modules] Adds module testing. This adds a new modu

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2024-01-10 Thread Mark de Wever via llvm-branch-commits
@@ -131,13 +138,65 @@ def parseScript(test, preamble): script += preamble script += scriptInTest +has_std_module = False +has_std_compat_module = False +for module in modules: +if module == "std": +has_std_module = True +elif mod

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2024-01-10 Thread Mark de Wever via llvm-branch-commits
@@ -131,13 +138,65 @@ def parseScript(test, preamble): script += preamble script += scriptInTest +has_std_module = False +has_std_compat_module = False +for module in modules: +if module == "std": +has_std_module = True +elif mod

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2024-01-11 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/76246 >From 196cedd36534b02a7c55cf4a1746b34f87ead467 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 20 Dec 2023 20:43:38 +0100 Subject: [PATCH 1/3] [libc++][modules] Adds module testing. This adds a new modu

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2024-01-11 Thread Mark de Wever via llvm-branch-commits
@@ -131,13 +138,65 @@ def parseScript(test, preamble): script += preamble script += scriptInTest +has_std_module = False +has_std_compat_module = False +for module in modules: +if module == "std": +has_std_module = True +elif mod

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2024-01-12 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/76246 >From eebe9b2fab5c5eef4776852270bf70af4626cfcb Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 20 Dec 2023 20:43:38 +0100 Subject: [PATCH] [libc++][modules] Adds module testing. This adds a new module t

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2024-01-12 Thread Mark de Wever via llvm-branch-commits
@@ -156,7 +156,9 @@ export namespace std { using std::reinterpret_pointer_cast; using std::static_pointer_cast; +#ifndef _LIBCPP_HAS_NO_RTTI using std::get_deleter; +#endif // _LIBCPP_HAS_NO_RTTI mordante wrote: This tested here, but should land separa

[llvm-branch-commits] [libcxx] [libc++][modules] Increase clang-tidy version used. (PR #76268)

2024-01-12 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/76268 >From b3c567f4a4369b1d22f189f272a3fa86c1f0f401 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Fri, 22 Dec 2023 21:43:57 +0100 Subject: [PATCH] [libc++][modules] Increase clang-tidy version used. As suggeste

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2024-01-16 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/76246 >From eebe9b2fab5c5eef4776852270bf70af4626cfcb Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 20 Dec 2023 20:43:38 +0100 Subject: [PATCH 1/2] [libc++][modules] Adds module testing. This adds a new modu

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2024-01-16 Thread Mark de Wever via llvm-branch-commits
@@ -52,6 +52,21 @@ def _executeScriptInternal(test, litConfig, commands): return (out, err, exitCode, timeoutInfo, parsedCommands) +def _validateModuleDependencies(modules): +for m in modules: +if m not in ("std", "std.compat"): +raise RuntimeError

[llvm-branch-commits] [libcxx] [libc++][modules] Adds module testing. (PR #76246)

2024-01-16 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/76246 >From eebe9b2fab5c5eef4776852270bf70af4626cfcb Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Wed, 20 Dec 2023 20:43:38 +0100 Subject: [PATCH 1/3] [libc++][modules] Adds module testing. This adds a new modu

[llvm-branch-commits] [libcxx] PR for llvm/llvm-project#79155 (PR #80484)

2024-02-02 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante approved this pull request. https://github.com/llvm/llvm-project/pull/80484 ___ 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][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][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] a8e0636 - [libc++] Implements concept destructible

2021-01-23 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2021-01-23T18:17:25+01:00 New Revision: a8e06361ddba6a25fb0c27596aaa03c5423d1868 URL: https://github.com/llvm/llvm-project/commit/a8e06361ddba6a25fb0c27596aaa03c5423d1868 DIFF: https://github.com/llvm/llvm-project/commit/a8e06361ddba6a25fb0c27596aaa03c5423d1868.diff

[llvm-branch-commits] [libcxx] 99d5fad - [libc++] Remove invalid C++20 code from a test.

2021-01-23 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2021-01-23T20:10:17+01:00 New Revision: 99d5fad7a5cabac39d8a93485d1ad0ef4ba2a579 URL: https://github.com/llvm/llvm-project/commit/99d5fad7a5cabac39d8a93485d1ad0ef4ba2a579 DIFF: https://github.com/llvm/llvm-project/commit/99d5fad7a5cabac39d8a93485d1ad0ef4ba2a579.diff

[llvm-branch-commits] [libcxx] 193cda1 - [libc++][doc] Update the release notes.

2021-01-25 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2021-01-25T18:32:13+01:00 New Revision: 193cda105d9131de533596077ff0c694e8b87bbd URL: https://github.com/llvm/llvm-project/commit/193cda105d9131de533596077ff0c694e8b87bbd DIFF: https://github.com/llvm/llvm-project/commit/193cda105d9131de533596077ff0c694e8b87bbd.diff

[llvm-branch-commits] [libcxx] 1d99cad - [libc++][doc] Update the release notes

2021-07-28 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2021-07-29T07:48:47+02:00 New Revision: 1d99cadfbc58057a9a1503172439a20aa41b004b URL: https://github.com/llvm/llvm-project/commit/1d99cadfbc58057a9a1503172439a20aa41b004b DIFF: https://github.com/llvm/llvm-project/commit/1d99cadfbc58057a9a1503172439a20aa41b004b.diff

[llvm-branch-commits] [libcxx] 4740e92 - [libc++] Improve LIBCXX_ENABLE_INCOMPLETE_FEATURES.

2021-08-02 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2021-08-02T17:30:01+02:00 New Revision: 4740e92e29da0916291f0eed2edc75c4b89df5f5 URL: https://github.com/llvm/llvm-project/commit/4740e92e29da0916291f0eed2edc75c4b89df5f5 DIFF: https://github.com/llvm/llvm-project/commit/4740e92e29da0916291f0eed2edc75c4b89df5f5.diff

[llvm-branch-commits] [libcxx] 9027887 - [libc++][nfc] Add TEST_HAS_NO_CHAR8_T.

2022-02-12 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2022-02-11T17:37:05+01:00 New Revision: 9027887e230ddd789c12822a06d627f9b84cd982 URL: https://github.com/llvm/llvm-project/commit/9027887e230ddd789c12822a06d627f9b84cd982 DIFF: https://github.com/llvm/llvm-project/commit/9027887e230ddd789c12822a06d627f9b84cd982.diff

[llvm-branch-commits] [libcxx] b6d6b8c - [libc++][format] LWG-3654 basic_format_context::arg(size_t) should be noexcept

2022-02-12 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2022-02-11T17:42:06+01:00 New Revision: b6d6b8c9d87667816ce299aed24bc33cdfe28cf7 URL: https://github.com/llvm/llvm-project/commit/b6d6b8c9d87667816ce299aed24bc33cdfe28cf7 DIFF: https://github.com/llvm/llvm-project/commit/b6d6b8c9d87667816ce299aed24bc33cdfe28cf7.diff

[llvm-branch-commits] [libcxx] efe5cba - [libc++][format] LWG-3648 format should not print bool with 'c'

2022-02-12 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2022-02-11T17:45:14+01:00 New Revision: efe5cbaf42da80f7bbe9010d1663fb44af057954 URL: https://github.com/llvm/llvm-project/commit/efe5cbaf42da80f7bbe9010d1663fb44af057954 DIFF: https://github.com/llvm/llvm-project/commit/efe5cbaf42da80f7bbe9010d1663fb44af057954.diff

[llvm-branch-commits] [libcxx] 3317b38 - [NFC][libc++] Update the implementation status.

2021-01-22 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2021-01-22T20:24:33+01:00 New Revision: 3317b38ef86ecee1ae134f419a8ed0f4733444a3 URL: https://github.com/llvm/llvm-project/commit/3317b38ef86ecee1ae134f419a8ed0f4733444a3 DIFF: https://github.com/llvm/llvm-project/commit/3317b38ef86ecee1ae134f419a8ed0f4733444a3.diff

[llvm-branch-commits] [libcxx] 09546e1 - [libc++][doc] Update the release notes.

2022-03-03 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2022-03-03T21:49:50+01:00 New Revision: 09546e1b5103a9d4c148e6af0ace1673ab55b893 URL: https://github.com/llvm/llvm-project/commit/09546e1b5103a9d4c148e6af0ace1673ab55b893 DIFF: https://github.com/llvm/llvm-project/commit/09546e1b5103a9d4c148e6af0ace1673ab55b893.diff

[llvm-branch-commits] [libcxx] 5740f96 - [NFC][libc++] Fixes swapped comments.

2020-12-19 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2020-12-19T16:16:54+01:00 New Revision: 5740f96d8eed0ac041a2aff294f3015ae289b24d URL: https://github.com/llvm/llvm-project/commit/5740f96d8eed0ac041a2aff294f3015ae289b24d DIFF: https://github.com/llvm/llvm-project/commit/5740f96d8eed0ac041a2aff294f3015ae289b24d.diff

[llvm-branch-commits] [libcxx] eb9b063 - [libc++] P1645 constexpr for

2020-11-25 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2020-11-25T13:19:32+01:00 New Revision: eb9b063539c34d0d4dd14e8516eeb77bb8b9e4bd URL: https://github.com/llvm/llvm-project/commit/eb9b063539c34d0d4dd14e8516eeb77bb8b9e4bd DIFF: https://github.com/llvm/llvm-project/commit/eb9b063539c34d0d4dd14e8516eeb77bb8b9e4bd.diff

[llvm-branch-commits] [libcxx] ecabb39 - Revert "[libc++] P1645 constexpr for "

2020-11-25 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2020-11-25T13:46:08+01:00 New Revision: ecabb39ca11cba3d78a4134dfafd3bc0ee0473f4 URL: https://github.com/llvm/llvm-project/commit/ecabb39ca11cba3d78a4134dfafd3bc0ee0473f4 DIFF: https://github.com/llvm/llvm-project/commit/ecabb39ca11cba3d78a4134dfafd3bc0ee0473f4.diff

[llvm-branch-commits] [libcxx] 83d2660 - [NFC][libc++] Mark LWG3296 as complete.

2020-11-26 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2020-11-26T10:39:44+01:00 New Revision: 83d26603e0402befe32186d2a2706bdf79d0a1cf URL: https://github.com/llvm/llvm-project/commit/83d26603e0402befe32186d2a2706bdf79d0a1cf DIFF: https://github.com/llvm/llvm-project/commit/83d26603e0402befe32186d2a2706bdf79d0a1cf.diff

[llvm-branch-commits] [libcxx] 67c88e4 - [libc++] P1645 constexpr for

2020-11-28 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2020-11-28T17:02:54+01:00 New Revision: 67c88e47bdba2578150a9034a717d6ddcace4e13 URL: https://github.com/llvm/llvm-project/commit/67c88e47bdba2578150a9034a717d6ddcace4e13 DIFF: https://github.com/llvm/llvm-project/commit/67c88e47bdba2578150a9034a717d6ddcace4e13.diff

[llvm-branch-commits] [libcxx] ae5f792 - [libc++] Disable some tests using gcc 9.

2020-11-28 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2020-11-28T20:08:09+01:00 New Revision: ae5f792002d8885c091e3e2de6fcebf9b26085f8 URL: https://github.com/llvm/llvm-project/commit/ae5f792002d8885c091e3e2de6fcebf9b26085f8 DIFF: https://github.com/llvm/llvm-project/commit/ae5f792002d8885c091e3e2de6fcebf9b26085f8.diff

[llvm-branch-commits] [clang-tools-extra] f687b4a - [NFC][clang-tidy] Fixes comment typos.

2020-12-05 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2020-12-05T16:31:16+01:00 New Revision: f687b4ac84a3f76ec850dccb675ac2b5c00f8661 URL: https://github.com/llvm/llvm-project/commit/f687b4ac84a3f76ec850dccb675ac2b5c00f8661 DIFF: https://github.com/llvm/llvm-project/commit/f687b4ac84a3f76ec850dccb675ac2b5c00f8661.diff

[llvm-branch-commits] [libcxx] ce6269f - [NFC][libc++] Update C++20 issues status.

2020-12-05 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2020-12-05T16:36:19+01:00 New Revision: ce6269f9ba6cc81062bb8634447dc6e1d1c381e6 URL: https://github.com/llvm/llvm-project/commit/ce6269f9ba6cc81062bb8634447dc6e1d1c381e6 DIFF: https://github.com/llvm/llvm-project/commit/ce6269f9ba6cc81062bb8634447dc6e1d1c381e6.diff

[llvm-branch-commits] [clang] 2d9954d - Add -Wrange-loop-analysis changes to ReleaseNotes

2020-02-04 Thread Mark de Wever via llvm-branch-commits
Author: Mark de Wever Date: 2020-02-04T20:20:16+01:00 New Revision: 2d9954dd8244c7a9d6a1e160fcbb22fe2b9b514f URL: https://github.com/llvm/llvm-project/commit/2d9954dd8244c7a9d6a1e160fcbb22fe2b9b514f DIFF: https://github.com/llvm/llvm-project/commit/2d9954dd8244c7a9d6a1e160fcbb22fe2b9b514f.diff

[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] 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++] 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][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] [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][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][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][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][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][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] 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-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++] 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++] 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] [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] 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] 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] 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] 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
@@ -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] 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
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
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
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] [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

<    1   2   3   >