[clang] [Clang] disallow # operators in attribute argument lists (PR #147308)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 30 06:25:34 PDT 2025
================
@@ -124,6 +124,11 @@ Improvements to Clang's diagnostics
Added a new warning in this group for the case where the attribute is missing/implicit on
an override of a virtual method.
+- Clang rejects the ``#`` and ``##`` preprocessor tokens in an attribute
----------------
erichkeane wrote:
```suggestion
- Clang now rejects the ``#`` and ``##`` preprocessor tokens in an attribute
```
https://github.com/llvm/llvm-project/pull/147308
More information about the cfe-commits
mailing list