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

    <tr>
        <th>Summary</th>
        <td>
            Implement -Wformat-overflow and -Wformat-truncation
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang:diagnostics
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          nickdesaulniers
      </td>
    </tr>
</table>

<pre>
    I noticed in the Linux kernel that we enable the above two warnings if the compiler supports them; however I don't see them listed in `diagtool tree`. We should see if they provide additional coverage that the existing nest of `-Wformat` group diagnostics don't cover, and implement them if so.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxMkc9u4zwMxJ9GvhAJFPlP7YMP7fchQIG99yxLtM2tLBoSnbRvv7Czm92TABGcmd_Q5kxTROxV_abq_wu7ycypj-Q-PWa7hUiYcjGw_-7fIbKQQw8UQWaEHxS3L_jEFDGAzFbgjoDRDgGPuR34hiB3hrtNkeKUgcZj4nhZKWCCvK0rJ8n776LKN5j5jjdM8A6eozIvAhkPtQUCZXmYq0Z7spMwB5CEqBp9hg-EPPMW_LHxMPqGNfGNPIL1noQ42gCOb5jshI_Iexz8oiwUJ4iYBXjcDU4fI6fFimo0TIm3FXbLyFnI5We4Q0uZ_8BGD7SsAReM8shLI2Q-F74vfVd2tsD-0nSmqUzZ1sXc26G8tG13qfWLs742bVt6rStsWlM5h0NBvdGm1K25XFrTmPrcea2xM7UfXDtiXapK42IpnEO4LWdOU0E5b9g3VftyKYIdMOTjsMa4YOOkytd_GJQx-8VTv2-fhm3KqtJ7x_mvnpAE7N-fXH9KOe3YY-D7wf38lbRFZ_eaiy2FfhZZsypflbkqc51I5m04O16Uue4Ov5_TmvgnOlHmesTPylwPgl8BAAD__5d54xM">