Carving out -Wformat warning about scoped enums into a subwarning #81647
Closed
Description
Android uses -Wformat by default. Starting with 3632e2f517, this warning reports a lot of conversion warnings for scoped enums. It is infeasible to fix these in our third party code.
We can create a sub-warning, similar to other named diagnostics controlled by -Wformat (https://clang.llvm.org/docs/DiagnosticsReference.html#wformat), to be able to disable it selectivey for our third-party code.
@AaronBallman does this option sound good?
(cc: @enh-google @ZijunZhaoCCK )
Activity