[clang] [Clang] Warning as error for fold expressions over comparison operators (PR #136836)
via cfe-commits
cfe-commits at lists.llvm.org
Thu May 1 08:00:07 PDT 2025
cor3ntin wrote:
> Okay, let's go ahead as is. Though I feel it's unfortunate that the warnings for left fold and right fold are scattered - maybe we could clean them up in future
This is not the case, there is a warning for the fold case (regardless of direction) in TreeTransform, and a different warning for the non-fold case in CreateBinOp
https://github.com/llvm/llvm-project/pull/136836
More information about the cfe-commits
mailing list