[clang] 2ad41f9 - Repairing the release notes
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 28 11:34:49 PDT 2022
Author: Aaron Ballman
Date: 2022-09-28T14:34:37-04:00
New Revision: 2ad41f97f87ad94f4a6e536a0e9027fb954d651e
URL: https://github.com/llvm/llvm-project/commit/2ad41f97f87ad94f4a6e536a0e9027fb954d651e
DIFF: https://github.com/llvm/llvm-project/commit/2ad41f97f87ad94f4a6e536a0e9027fb954d651e.diff
LOG: Repairing the release notes
A code block was separated from its release note, so this re-associates
them again. It also adds an example code block to another potentially
breaking change entry.
Added:
Modified:
clang/docs/ReleaseNotes.rst
Removed:
################################################################################
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 8c0c85bab270..3ef5eaa8a5c3 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -70,8 +70,6 @@ code bases.
results do not change before/after setting
``-Werror=incompatible-function-pointer-types`` to avoid incompatibility with
Clang 16.
-- Clang now disallows types whose sizes aren't a multiple of their alignments to
- be used as the element type of arrays.
.. code-block:: c
@@ -80,6 +78,14 @@ code bases.
void (*fp)(int *) = func; // Previously a warning, now a downgradable error.
}
+- Clang now disallows types whose sizes aren't a multiple of their alignments
+ to be used as the element type of arrays.
+
+ .. code-block:: c
+
+ typedef char int8_a16 __attribute__((aligned(16)));
+ int8_a16 array[4]; // Now diagnosed as the element size not being a multiple of the array alignment.
+
What's New in Clang |release|?
==============================
More information about the cfe-commits
mailing list