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!
> 
> Okay, I'll see if I can write this patch. I'm much less busy these days. :)

Thank you for the offer and sorry for stepping on toes, but I actually just 
posted the patch for it (https://github.com/llvm/llvm-project/pull/140890). :-D

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