[clang] [clang] Extend clang's <limits.h> to define *LONG_LONG*_ macros for bionic (PR #115406)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 12 10:49:17 PST 2024


AaronBallman wrote:

> > Release note and test coverage?
> 
> I tested it locally. I copied code to `prebuilt/.../limits.h` in aosp and removed bionic's copy and rebuilt to see whether it works. And it worked well. Any extra upstream test coverage needed?

Yes, we've got tests for Clang-supplied headers in `clang/test/Headers`; you should pass `-ffreestanding` on the `RUN` line and that should find Clang's headers rather than the system headers.

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


More information about the cfe-commits mailing list