Issue 81647
Summary Carving out -Wformat warning about scoped enums into a subwarning
Labels new issue
Assignees
Reporter pirama-arumuga-nainar
    Android uses -Wformat by default.  Starting with https://github.com/llvm/llvm-project/commit/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 )
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to