[libc-commits] [libc] [libc] add various macros relate to *ADDR* (PR #164830)

Connector Switch via libc-commits libc-commits at lists.llvm.org
Fri Oct 31 07:34:32 PDT 2025


c8ef wrote:

> This looks good, and I agree that tests aren't necessary. You do need to add `in_addr_t.h` to the dependencies in cmake though.

Hmmm.... The cmake dependencies are not natural because we declare llvm-libc-macros before llvm-libc-types. This means that when we add the macro target, cmake does not recognize the libc-types target.

```cmake
add_subdirectory(llvm-libc-macros)
add_subdirectory(llvm-libc-types)
```

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


More information about the libc-commits mailing list