<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58263>58263</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Enable `-Wimplicit-fallthrough` automatically as part of `-Wall` or `-Wextra`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
vittorioromeo
</td>
</tr>
</table>
<pre>
As the title says. This flag is really valuable for preventing run-time bugs. GCC enables the equivalent flag as part of `-Wextra`.
Live example on Compiler Explorer:
https://gcc.godbolt.org/z/MxbG6sh4s
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxdUU1znDAM_TVw8SzD2phdDj4km49Le8tMzgYEKGMwsQXZ7a-vYNvpNGOMJetJek-ufXszD1HQAIKQHIhobzETbwNG0TnbCz4DWOduYrVusTVDOh_EHGCFiXDqRVimA-EIol56Tn29XARMG_BeFj4X5FQG3wvaKGYbSPhOJGV-eIcrBctWluRPSf5w___AlTOvdpy5n5_ExY8zOgji-To7HyAk6g9yIJrj5skX_vqmyXrf1t5R5kPPN794_7zWr2UcipiCOZalLo55LnXaGtVWqrLprtw876TvpJAbY4N06Fg6DcEv_cABYRfyoyVs9ol8l8KXG4jH85-ydAnOfOOJNCx11viRHefWv8dhDv4DGmIXY1wgsqHPslTpYGRVFl2h4FxUspC51kpXnTp1zblsTrVqUmdrcNEk-jGRcoIvsZdgO9FPKRqZS3nMeSmtCp2d2qpqS9udFBQA5zYpchgtumzjsQ0vDWantD0rBx1Giv-CNkbsJ4C9HdfnyQw-mBWJfEAf_Ag-3QmYXcBvaBHIyg">