thakis added a comment.

FWIW, the standard procedure for adding new functionality to existing warnings 
is (assuming that it makes the warning fire a lot, else no extra group is 
needed):

- Add it in a subgroup with its own flag
- Enable it by default

The reasoning is that people who aren't ready for the warning yet can then turn 
it off with the new flag, and everyone becomes aware of the new warning. If 
it's off-by-default, nobody will ever know about it.

(Of course, only warnings that are useful and high-signal should be added in 
the first place, so this is assuming that it's a warning with a very low false 
positive rate.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153131

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

Reply via email to