[clang] [Clang][Sema]: Diagnose lambda to bool implicit casts (PR #83152)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 28 09:59:00 PST 2024


AaronBallman wrote:

> @AaronBallman sorry for repeating the same mistake twice, I was unable to correctly interpret what you wanted to say when you meant removing the lambda body from the diagnostic. I have made all the suggested changes and updated the tests. I hope I don't come across as dumb :-) ! I will be more mindful of what changes I have made before pushing them to the remote in the future.

No worries at all, your contribution is *very* appreciated! Also, it's not like I have room to judge -- I suggested breaking code and making a useless test! We all make mistakes. ;-)

https://github.com/llvm/llvm-project/pull/83152


More information about the cfe-commits mailing list