[clang] [clang] Ignore GCC 11 `[[malloc(x)]]` attribute (PR #68059)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 5 10:35:05 PDT 2023
https://github.com/AaronBallman commented:
Thank you for the fix!
We generally want ignored attributes to be diagnosed as being ignored; otherwise users have a much harder time determining whether the attribute is working or not. I think we should issue an "attribute ignored" warning when we're dropping the attribute in the AST.
Also, the changes should come with a release note so that users know about the bug fix.
https://github.com/llvm/llvm-project/pull/68059
More information about the cfe-commits
mailing list