aaron.ballman added a comment.

In D139114#4053022 <https://reviews.llvm.org/D139114#4053022>, @chapuni wrote:

> Excuse me, I have reverted this.
>
> Before landing this, could you please fix new warnings in the current 
> codebase, please?

Thank you for the revert (and good to see you again!).

In D139114#4053166 <https://reviews.llvm.org/D139114#4053166>, @nathanchance 
wrote:

> For what it’s worth, this triggers a LOT in the Linux kernel for the pattern 
> that @MaskRay pointed out:

Out of curiosity, has it found any true positives that you can tell?

> It would be nice if this was split into a separate flag that could be 
> disabled, as -Wconstant-conversion has not been very noisy up until this 
> point.

We can definitely split it into a separate flag. Alternatively, we could 
investigate disabling the warning for that code pattern (or moving that bit 
under its own flag).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139114/new/

https://reviews.llvm.org/D139114

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to