rjmccall wrote: Recognizing when the `if` condition is just a call to the builtin (possibly parenthesized or `&&`ed) seems totally sufficient to me. You could check that the builtin isn't used in any other position if you want, but I don't think that's really necessary.
https://github.com/llvm/llvm-project/pull/134016 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits