[libc-commits] [libc] [libc] implement `inet_aton` (PR #162651)

Connector Switch via libc-commits libc-commits at lists.llvm.org
Thu Oct 9 09:07:14 PDT 2025


================
@@ -26,6 +26,19 @@ add_libc_unittest(
     libc.src.arpa.inet.ntohs
 )
 
+add_libc_unittest(
+  inet_aton
+  SUITE
+    libc_arpa_inet_unittests
+  SRCS
+    inet_aton_test.cpp
+  CXX_STANDARD
+    20
----------------
c8ef wrote:

It turns out that none of the five test cases use C++ 20 features. I'll clean up the other four as a follow-up.

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


More information about the libc-commits mailing list