[all-commits] [llvm/llvm-project] aeeeea: [Clang] disallow attributes on void parameters (#1...
Oleksandr T. via All-commits
all-commits at lists.llvm.org
Mon Feb 10 16:43:00 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aeeeeabe5832d683d317a5ed5a87b520aea54368
https://github.com/llvm/llvm-project/commit/aeeeeabe5832d683d317a5ed5a87b520aea54368
Author: Oleksandr T. <oleksandr.tarasiuk at outlook.com>
Date: 2025-02-11 (Tue, 11 Feb 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaAttr.cpp
M clang/lib/Sema/SemaType.cpp
M clang/test/SemaCXX/attr-cxx0x.cpp
Log Message:
-----------
[Clang] disallow attributes on void parameters (#124920)
Fixes #108819
---
This PR introduces diagnostics to disallow the use of attributes on void
parameters
```cpp
void f([[deprecated]] void) {}
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list