<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/86997>86997</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Error message got changed for certain type traits due to 690bf64f077a
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang:frontend,
clang:diagnostics
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
fahadnayyar
</td>
</tr>
</table>
<pre>
Because of this commit:
> commit 690bf64f077a281d434537b0907c9fc170123dcc
> Author: Amirreza Ashouri <[ar.ashouri999@gmail.com](mailto:ar.ashouri999@gmail.com)>
> Date: Tue Mar 5 12:37:00 2024 +0330
>
> [clang] Support __is_trivially_copyable(int()&)==false (#81298)
The error message for certain type traits changed.
```
void f(void) {
__has_nothrow_copy();
}
```
Earlier the error message was: `expected a type`
New error message is: `type name requires a specifier or qualifier`
Ref: https://godbolt.org/z/d4884bYz3
#81298
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0U8GSpDYM_RpxUe2UsQHDgQO9TN-SQ7KXnLoEFuAUjXttM5Oer09B96R3JrsUZSzL0nsSTxSCHRfmGvID5G1Ca5ycrweayCx0vZJPOmeu9YF7WgOjGzBONmDvzmcbQTUgWhDvq3q-O7CoRDcU2SC0JlmmJlNZrnQnKqH7auhTLVKpTN8_ApsdGVSDzdl6z2-ETZjc6i2C-gr5gfwT3Q6qqoJMjGey81PvzpC3IMvNig5U8-t7sgL1_EBsKfKGh_htZfyNPOaYSlCN0qAaIVAKmSHIg1BKPMIeu-2B_NDPtIyQt_jnerk4H_F0suEUvX2xNM_XU-8uV-pmBlnaJYIsNyKy2Om0oNqB5sC4n6syldXu_6Gt3yZG9t55PHMINDIOzmPPPpJdMF4vjNGTjQH7iZaRzdM9uhD3dzdfnDU4gCy3DcgKQR9uHjydJgqnxcXJu9ed752lut8A3f405219Jj9b9hj_R_SVwtZhKAT_c-E-skHaGf-X4Xd-_RRj30P2yhY6M3r-vlrPAQnDhXs7bGjO4_eV5t34ROgPHrYcU4yXLRnII8jj6Ezn5vjk_Ajy-AbyaLKyzLq_3tQHEd9_AiamVqZSFSVcpzpNizwXqUimWuRa5aU2vWRZ6CJVGVXZYEyqN9Erndh6U45QskyrTEn9VDCXnWSdDWkuDeeQCd5VOc8v541QYkNYuS6LqtLJTB3PYZ9IKW_iUs3g3RJ5MSAlyK8_OIylcXEh2j5svrxNfL2l_dKtY4BMzDbE8ACKNs5cP3_o-Ojiu3R-KS2zMkb3Ya4xWf1cf2qyjdPa3abtuIHeP18u3v3NfQR53EsNII97tf8GAAD__6TYWnU">