[libc-commits] [libc] [libc] Add `locale.h` and related stubs (PR #97494)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Mon Jul 8 15:35:46 PDT 2024


================
@@ -21,6 +21,10 @@ def PThreadOnceT : NamedType<"pthread_once_t">;
 def PThreadOnceTPtr : PtrType<PThreadOnceT>;
 def PThreadOnceCallback : NamedType<"__pthread_once_func_t">;
 
+def StructLconv : NamedType<"struct lconv">;
+def StructLconvPtr : PtrType<StructLconv>;
+def LocaleT : NamedType<"locale_t">;
----------------
michaelrj-google wrote:

you should only have to define this in one place, probably in `stdc.td`

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


More information about the libc-commits mailing list