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

    <tr>
        <th>Summary</th>
        <td>
            [feat] Clang format detect when using struct XYZ instead of XYZ (typedef)
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          ilan-schemoul
      </td>
    </tr>
</table>

<pre>
    Hey,
It would be awesome to have an option (the name could be UseTypedefInsteafOfFullStructName) so when we have this
```c
struct abc{};;
typedef a;
int main() {
   struct abc b;
}
```
`struct abc b;` gets replaced by "a b;"

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcUs1u2zAMfhr5QjRQ6L_44EPbIFgv22EbsO1GSbStQbYCi26Qtx9sry02QIBB8fsx9ZFS8v3E3KrySZXnjBYZ4tz6QNNDsgOPcQmZie7efuK7wmelz0o_vgjc4hIcGAa6cYojg0QY6JWBJohX8XEChScZGCYaGewb_Hvib_crO-5epiRM3ZfusoTwVebFymcaWWEDKcJt4AluvGvK4NPurCq9H7vXaeMBGavqJ1WfVf60nq0nuw_Q-42fBEbyk8LTarNStnsA-BAC845fBf-1fS__x1caepYEM18DWXZg7qAQae8i7sTMtblr8oYybo_1sTjliEWTDW3ROKptZapjWXNlSq4q1NZ1XNQGqT5lvkWNhS51cSyONTYHV5g6b4idyXWeo1WF5pF8OITwOh7i3Gc-pYXb5qirPAtkOKQtZUQbaOrXfyrP2dyu-Aez9EkVOvgk6UNBvIRtNTomUeUZnlcmdHEeScCxsJU9qSX5qX97xB8_f4Hf0nUQu61cd2GPQ2GTLXNoB5FrUvmjwovCS-9lWMzBxlHhZfX_-3m4zvE3W1F42cZJCi_bRH8CAAD__5Yo1rY">