llvm-project
625cb5a1 - [libc] Share hdrgen declarations between stdlib.h and malloc.h (#127278)

Commit
226 days ago
[libc] Share hdrgen declarations between stdlib.h and malloc.h (#127278) This uses the new merge_yaml_files feature in hdrgen to share the source of truth for the malloc suite of functions declared in both stdlib.h and in malloc.h (without either header including the other). It also modernizes the malloc.yaml definition a bit, including dropping the custom template malloc.h.def file in favor of using the explicit macros list to generate the includes.
Author
Parents
Loading