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

Vinayak Dev via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 28 07:53:20 PST 2024


vinayakdsci wrote:

Done! I added the diagnostic to the TableGen file, and passed in only the Record's source range instead of the whole expression's. Now only the lambda's initializer is highlighted in the diagnostic. I hope this does it!

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


More information about the cfe-commits mailing list