[libc-commits] [libc] [libc] Provide an implementation of the 'stdint.h' header (PR #83353)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Wed Feb 28 15:36:06 PST 2024


nickdesaulniers wrote:

We probably need to be careful with this change.  I'm nervous if stdint.h from clang is 100% the same for different architectures?

I do worry about `#include_next` as I highly suspect it's behavior is non-deterministic in the face of `-I` (or perhaps `-isystem`) flags.

If we did do this change, I think we could+should replace our `#include <stdint.h>` with including our stdint.h.

```sh
$ grep -rn '<stdint' libc | wc -l
208
```

https://github.com/llvm/llvm-project/pull/83353


More information about the libc-commits mailing list