[clang] clang/limits.h: Avoid including limits.h twice (PR #120526)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 7 11:08:55 PST 2025


AaronBallman wrote:

I'm confused why this is necessary, we already work around glibc's quirk here:
https://github.com/llvm/llvm-project/blob/a15fedc399d5d1aa07c14531e5cd8d3efc583600/clang/lib/Headers/limits.h#L18
which should then hit glibc's header guard here:
https://sourceware.org/git/?p=glibc.git;a=blob;f=include/limits.h#l122

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


More information about the cfe-commits mailing list