[clang] [Clang] disallow attributes on void parameters (PR #124920)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 31 05:44:28 PST 2025


================
@@ -107,6 +107,8 @@ Removed Compiler Flags
 Attribute Changes in Clang
 --------------------------
 
+- Clang now disallows the use of attributes on void parameters. (#GH108819)
----------------
AaronBallman wrote:

```suggestion
- Clang now diagnoses use of declaration attributes on void parameters. (#GH108819)
```

https://github.com/llvm/llvm-project/pull/124920


More information about the cfe-commits mailing list