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

    <tr>
        <th>Summary</th>
        <td>
            (auto(x)) parsed incorrectly
        </td>
    </tr>

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

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

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

<pre>
    Issue originated with this code: https://godbolt.org/z/G7zshr3fY
It seems parenthesized expicit type conversion with auto is parsed incorrectly: https://godbolt.org/z/PT8KqYr43

```cpp
auto fun(int x) {
        return (auto(x));
}
```

```
<source>:3:15: error: type-id cannot have a name
        return (auto(x));
 ^
<source>:3:18: error: expected expression
        return (auto(x));
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUUk9v3C4Q_TTjC8oKA_bigw-bX-Kfol56yCVHDLNrKi-4gLN_Pn2FvWnVNFVba2QbmHnvDfNUjPbgEFuo7qF6KNScBh_aZ3XiKIvem0v7FOOMxAd7sE4lNORk00DSYCPR3iDwHRlSmiLwHbAOWHfwpvdj2vhwANZdgXX_b69xCHz_AvQB6O4pkYh4jGRSAV0aMNorGoLnyWqbSLpMSLR3rxii9W7lU3PyxC4lEQ2xTvsQUKfx8jcCPj_LT19fguCrgNu7pmvoaVp3FpL97IBJ6xI5A2sIbO_fipqAaQ6OAJM5E5jMGTn4W8724R32h4S3Jf8v-jloBP4IfMeB78oqd4Mh-JB_8k3cWUO0cs4nMqhXJIo4dcQVgdyeP-oiUD3-nlT-RIrnCXVa5xEw5hH8I9v3PgvTctPwRhXYlrXklNe0LIuhFUIqKZGVgtc1VlqIWmouy5JTgSXfF7ZllHFaUVYKSul2Y_b1VkgleNPXpqcGBMWjsuNmHF-PedKFzT5tayYaUYyqxzEupmbM4Yksh8BY9nhoc81dPx8iCDramOIPlGTTiO0vvX3gu2IOY_vOeDYNc7_R_gisy5C3z90U_BfUCVi3CInAukXotwAAAP__JAsKSw">