[clang] [Clang] disallow # operators in attribute argument lists (PR #147308)
Oleksandr T. via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 7 09:35:56 PDT 2025
================
@@ -830,6 +830,8 @@ def err_ms_property_expected_comma_or_rparen : Error<
"expected ',' or ')' at end of property accessor list">;
def err_ms_property_initializer : Error<
"property declaration cannot have a default member initializer">;
+def err_invalid_attribute_argument
+ : Error<"'%0' is not allowed in attribute argument lists">;
----------------
a-tarasyuk wrote:
@AaronBallman Thanks for the feedback. I've updated the diagnostic message
https://github.com/llvm/llvm-project/pull/147308
More information about the cfe-commits
mailing list