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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to