From 2b5bebaa93e6524260f00848bcbe0b7a6097156b Mon Sep 17 00:00:00 2001 From: erichkeane Date: Wed, 20 Aug 2025 13:37:33 -0700 Subject: [PATCH] Move rest of documentation problems that found their way to the SA sec. It was brought up in response to #154605 that these two were in the wrong place as well! This patch tries to find better places for them, and moves them. --- clang/docs/ReleaseNotes.rst | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index 92d45680314af..9ef697a14dcce 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -123,6 +123,8 @@ C++ Language Changes a perfect match (all conversion sequences are identity conversions) template candidates are not instantiated. Diagnostics that would have resulted from the instantiation of these template candidates are no longer produced. This aligns Clang closer to the behavior of GCC, and fixes (#GH62096), (#GH74581), and (#GH74581). +- Implemented `P2719R5 Type-aware allocation and deallocation functions `_ + as an extension in all C++ language modes. C++2c Feature Support ^^^^^^^^^^^^^^^^^^^^^ @@ -384,6 +386,11 @@ New Compiler Flags - New options ``-fthinlto-distributor=`` and ``-Xthinlto-distributor=`` added for Integrated Distributed ThinLTO (DTLTO). DTLTO enables the distribution of backend ThinLTO compilations via external distribution systems, such as Incredibuild, during the traditional link step. (#GH147265, `ThinLTODocs `_). +- A new flag - `-static-libclosure` was introduced to support statically linking + the runtime for the Blocks extension on Windows. This flag currently only + changes the code generation, and even then, only on Windows. This does not + impact the linker behaviour like the other `-static-*` flags. + Deprecated Compiler Flags ------------------------- @@ -682,7 +689,7 @@ Improvements to Clang's diagnostics #GH142457, #GH139913, #GH138850, #GH137867, #GH137860, #GH107840, #GH93308, #GH69470, #GH59391, #GH58172, #GH46215, #GH45915, #GH45891, #GH44490, #GH36703, #GH32903, #GH23312, #GH69874. - + - Clang no longer emits a spurious -Wdangling-gsl warning in C++23 when iterating over an element of a temporary container in a range-based for loop.(#GH109793, #GH145164) @@ -1233,14 +1240,6 @@ Static Analyzer New features ^^^^^^^^^^^^ -- A new flag - `-static-libclosure` was introduced to support statically linking - the runtime for the Blocks extension on Windows. This flag currently only - changes the code generation, and even then, only on Windows. This does not - impact the linker behaviour like the other `-static-*` flags. -- Implemented `P2719R5 Type-aware allocation and deallocation functions `_ - as an extension in all C++ language modes. - - Crash and bug fixes ^^^^^^^^^^^^^^^^^^^