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

    <tr>
        <th>Summary</th>
        <td>
            SARIF mode shouldn't have a header and footer
        </td>
    </tr>

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

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

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

<pre>
    Clang _always_ issues an unstructured text warning as a header and a summary as a footer when `-fdiagnostics-format=sarif` is present, which means that the SARIF diagnostics can't be directly piped.

The warning should be added to the SARIF JSON object, and the summary is natively incorporated in the JSON object anyway, so it can be dropped entirely.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUUs2O2yAQfhp8GSXCOHbigw_priK1h1bq9r4aw8SwwmDBeFO_feV4t00vIDHMp-8Pc3ZDIOpE_UUopd9ML5QS9XOBM9uYuvWl6KNZuiePYYBX9Ddc8iu4nGfKgAHmkDnNmudEBph-M9wwBRcGwAwIltBQAgwGEPI8jpiWbXKNkSnBzVIA0cjd1TgcQszsdN5dYxqRRfWcMbmraCS4DFOiTIGFeoKbddrCSBgysEUGtgQv559fL_AAAxqDUEeGnsC4RJr9ApObyOyFfBbyvJ2_LP0lnW2cvVkX0JhVUXyA_vby4zvE_o30ncQqah1-ynIZArJ7J7-ACzqmKSZkMuDC_d_DOmBYbrisKDmC45XpnWWK00QGKLBL5Jd9YbrKtFWLBXVlczxVp7qtZWE7qdrmSkekQ183R6pQaqPRVNQrIlPKwnVKqkpWsi1PZVvK_aFs2lqrRp3qpjZlLw6SRnR-7_37uI9pKO6pdk1Zybrw2JPPn81Y0xfV-cHbj6Kkbt3e9fOQxUF6lzn_w2PHnrrNuzEa-nB3y8TiO_1fkK0RxZx8Z5mnLKqzUBehLoNjO_d7HUehLiv6x7WbUtzCuGyFFOpyZ_8nAAD__5S49Ak">