Issue |
81503
|
Summary |
[libc][stdbit] fix type generic macros to work with compound literals
|
Labels |
libc
|
Assignees |
nickdesaulniers
|
Reporter |
nickdesaulniers
|
[As pointed out on mastodon](https://fosstodon.org/@hacky...@hachyderm.io/111863631398274547) the use of `_Generic` in type generic macros has an interesting parse error unless we use splats for the arguments (when the argument is a compound literal).
https://godbolt.org/z/eK45E1vsP
I should verify that we don't have this issue with our generated headers (by adding tests calling these with compound literals), then fix the headers if needed.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs