@@ -150,6 +150,27 @@ C Language Changes
150150- Added ``-Wimplicit-void-ptr-cast ``, grouped under ``-Wc++-compat ``, which
151151 diagnoses implicit conversion from ``void * `` to another pointer type as
152152 being incompatible with C++. (#GH17792)
153+ - Added ``-Wc++-hidden-decl ``, grouped under ``-Wc++-compat ``, which diagnoses
154+ use of tag types which are visible in C but not visible in C++ due to scoping
155+ rules. e.g.,
156+
157+ .. code-block :: c
158+
159+ struct S {
160+ struct T {
161+ int x;
162+ } t;
163+ };
164+ struct T t; // Invalid C++, valid C, now diagnosed
165+ - Added ``-Wimplicit-int-enum-cast ``, grouped under ``-Wc++-compat ``, which
166+ diagnoses implicit conversion from integer types to an enumeration type in C,
167+ which is not compatible with C++. #GH37027
168+ - Split "implicit conversion from enum type to different enum type" diagnostic
169+ from ``-Wenum-conversion `` into its own diagnostic group,
170+ ``-Wimplicit-enum-enum-cast ``, which is grouped under both
171+ ``-Wenum-conversion `` and ``-Wimplicit-int-enum-cast ``. This conversion is an
172+ int-to-enum conversion because the enumeration on the right-hand side is
173+ promoted to ``int `` before the assignment.
153174
154175C2y Feature Support
155176^^^^^^^^^^^^^^^^^^^
@@ -211,6 +232,8 @@ Non-comprehensive list of changes in this release
211232- Added `__builtin_elementwise_exp10 `.
212233- For AMDPGU targets, added `__builtin_v_cvt_off_f32_i4 ` that maps to the `v_cvt_off_f32_i4 ` instruction.
213234- Added `__builtin_elementwise_minnum ` and `__builtin_elementwise_maxnum `.
235+ - No longer crashing on invalid Objective-C categories and extensions when
236+ dumping the AST as JSON. (#GH137320)
214237
215238New Compiler Flags
216239------------------
@@ -608,6 +631,8 @@ Arm and AArch64 Support
608631- The ``+nosimd `` attribute is now fully supported for ARM. Previously, this had no effect when being used with
609632 ARM targets, however this will now disable NEON instructions being generated. The ``simd `` option is
610633 also now printed when the ``--print-supported-extensions `` option is used.
634+ - When a feature that depends on NEON (``simd ``) is used, NEON is now automatically enabled.
635+ - When NEON is disabled (``+nosimd ``), all features that depend on NEON will now be disabled.
611636
612637- Support for __ptrauth type qualifier has been added.
613638
0 commit comments