| Issue |
202369
|
| Summary |
_Atomic auto and _Atomic(auto) are not the same thing in C23
|
| Labels |
c23,
clang:frontend,
diverges-from:gcc
|
| Assignees |
|
| Reporter |
AaronBallman
|
_This comes from discussion in https://github.com/llvm/llvm-project/pull/197874#pullrequestreview-4389392176_
`_Atomic auto` is using `_Atomic` as a qualifier, while `_Atomic(auto)` is a type specifier spelling. The qualifier form should be accepted in C23 mode but Clang rejects the same as the type specifier form: https://godbolt.org/z/1453Yz4r5
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs