================
@@ -747,6 +747,10 @@ Bug Fixes in This Version
 - Fixed an infinite recursion when checking constexpr destructors. (#GH141789)
 - Fixed a crash when a malformed using declaration appears in a ``constexpr`` 
function. (#GH144264)
 - Fixed a bug when use unicode character name in macro concatenation. 
(#GH145240)
+- In C23, something like [[/*possible attributes*/]]; is an attribute 
declaration, not a statement. So it is not
+  allowed by the syntax in places where a statement is required, specifically 
as the secondary block of a
+  selection or iteration statement. This differs from C++, since C++ allows 
declaration statements. 
+  Clang now warning this patterns. (#GH141659)
----------------
Fznamznon wrote:

```suggestion
  Clang now emits a warning for these patterns. (#GH141659)
```

https://github.com/llvm/llvm-project/pull/146224
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to