[libc-commits] [libc] [libc] Reimplement IN6_IS_ADDR_* macros using statement expressions (PR #209772)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Wed Jul 15 07:30:38 PDT 2026


================
@@ -11,6 +11,7 @@
 
 #include "../__llvm-libc-common.h"
 #include "../llvm-libc-types/in_addr_t.h"
+#include "../llvm-libc-types/struct_in6_addr.h"
----------------
labath wrote:

Adding these dependencies to cmake is currently impossible because our target-adding cmake functions need to be called in dependency order, and the macros and types folders have mutual dependencies. This is why none of our macro targets lists type dependencies.

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


More information about the libc-commits mailing list