| Issue |
86997
|
| Summary |
Error message got changed for certain type traits due to 690bf64f077a
|
| Labels |
clang:frontend,
clang:diagnostics
|
| Assignees |
|
| Reporter |
fahadnayyar
|
Because of this commit:
> commit 690bf64f077a281d434537b0907c9fc170123dcc
> Author: Amirreza Ashouri <[[email protected]](mailto:[email protected])>
> 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
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs