AaronBallman wrote:

> @AaronBallman
> 
> I'm not sure who's responsible for `<stdcountof.h>` in LLVM.

Yeah, it's never really clear who is expected to provide these headers.

> In GCC it's a header provided by the compiler. I see that this PR does not 
> add the header, so I was wondering if that's to be added in a separate 
> commit, or if it's not supported by Clang and depends on library support.

I think Clang should probably provide the header as well. We do so for 
stdalign.h, stdbool.h, stdnoreturn.h and this is morally equivalent to those. 
Thanks for bringing this up!

https://github.com/llvm/llvm-project/pull/133125
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to