<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/81647>81647</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Carving out -Wformat warning about scoped enums into a subwarning
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          pirama-arumuga-nainar
      </td>
    </tr>
</table>

<pre>
    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 )
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkz-PozwQxj-NaUZBYEhCCopsVpFevd1dsdJ2gz2AV8YT2UNy-fYnyP65La64BgyYZ-b5-RlMyQ2BqFXbJ7V9znCWkWN7cREn3GCcp3nATUAXMGYd23t7DDayszAnSrB56TlOKNDdwVKPs5cc4KdgFBcGuDkZYRS5JFUdlT4rfR6cjHOXG56UPnt__bhtLpHfyIjSZ8PT5JZFtas06X5b7pU-gYwuwQ1jWJQjXThKAgTPAtyD4XClmByHjz0Jeo6QDF_IAoV5SjnAfwIugQs9YXKdJxCG3v0CGSkRuAA8x6VStHDBKHcwbClXxbMqjo_rC4HBACYSCgFCmrvNe8Wly-Qm5zEuuiwjRQg4kQXrcAicxJm0tCqRvSe7YPtEqHTzHZXxGIZ8gZNzHJQ-WzZJ6fPzl9YP6ilSMJSPMnmlq9tDTOnDioyhI8B3n9aldekEEnky4q50XyF9mt78xbSqiyNGDk_o_YQBLFN6HAhfZGGeeA4WBmarqvO3P3VjjKqOoOqCwrgZmAdPy9Ore5vD64h8Ov0PSh8y21b2UB0wo7bcF_tmWxQHnY0tkbXWVtSYQ7XdkdZlURx2ZWf6el821Geu1YWuC11WZVM3pc5tUVjc1ntqSupwa5faEzr_CTNzKc3UNuWu3mceO_JpnQCtA91g_ai0XgYitms6u3lIqi68S5K-VMSJp_aE8bpkkmf5Os2PoGK3vP4zheCC8CM475uyOfr2n8dk7XLJw-ridwAAAP__EfxFkg">