[Clang][Sema]: Diagnose lambda to bool implicit casts (#83152)
Adds diagnostics for lambda expressions being cast to boolean values, which results in the expression always evaluating to true. Earlier, Clang allowed compilation of such erroneous programs, but now emits a warning through `-Wpointer-bool-conversion`. Fixes #82512
parent
86f4b4df
Please register or sign in to comment