[clang] [clang][Sema] decay functions to pointers for qualifier discarding and overflow behavior (PR #183616)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 2 07:05:21 PST 2026
https://github.com/AaronBallman commented:
Thank you for the fix! The changes should come with a release note in `clang/docs/ReleaseNotes.rst`; you should add a test case for overflow behavior. That won't crash today because it doesn't try to call `getPointeeType()` but it will change the diagnostic behavior: https://godbolt.org/z/Mh7f1o11j it'll now talk about `int (*)()` as the type instead of `int()`.
https://github.com/llvm/llvm-project/pull/183616
More information about the cfe-commits
mailing list