<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/94443>94443</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang] Ungrammatical "a enum specifier" error message
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Rajveer100
</td>
</tr>
</table>
<pre>
Clang throws ungrammatical error message for alias.
[GodBolt](https://godbolt.org/z/714cPYG3c)
Old:
```C++
error: type alias 'A' cannot be referenced with a enum specifier
```
New:
```C++
error: alias 'A' cannot be referenced with the 'enum' specifier
```
This can be changed similarly for other cases as well.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMkkGL2zwQhn_N-CLWKCPZjg86JBu8t-8rpT30KMsTW4tsBUnekP76Imehu9tLQNgwzLzzwDw6RjsuRAqqI1SnQq9p8kF9169vRGHHedH74aaenV5Glqbgr5Gtyxj0POtkjXaMQvCBzRSjHomdfWDaWR1L4Cfgh_dvdXzxw9G7BNUJcD-ldIkgDoAdYDf6ofculT6MgN1vwK7ZSfPt14swgO3HnP_dkKfulZrf3zPgMb-tutGAOLB0u9CdhAE2B8CGGb0sPrGeWKAzBVoMDexq08Q0o2WdWbyQsWdL4cuGjwj_0fVRhEe3p4lyV0bIjY9Q_JhszIk5zkx6GWlg0c7W6eBu2xF8migwoyNFpiO7knNlMSgxtKLVBalds2uqpqlbUUxKNLoVsub9UJ-rxrRoDO172UoSfK9bUViFHCWvecX3laxEKU0v617jbs-pGbgByWnW1pXOvc35koWNcSXVSilF4XRPLm6OIZrsEiBm3YLK_U_9OkaQ3NmY4t-EZJPbxLxPVCf285N5gPjP4RA_C1mswakvutk0rX1p_AzY5WXvv6dL8K9kEmC3sUfA7o7_pvBPAAAA___dt_ZQ">