[libc-commits] [libc] [libc] add rwlock (PR #94156)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Thu Jun 6 14:45:58 PDT 2024


================
@@ -125,6 +125,7 @@ def TimeTType : NamedType<"time_t">;
 def StructTimeSpec : NamedType<"struct timespec">;
 def StructTimeSpecPtr : PtrType<StructTimeSpec>;
 def ConstStructTimeSpecPtr : ConstType<StructTimeSpecPtr>;
+def ConstRestructTimeSpecPtr : ConstType<RestrictedPtrType<StructTimeSpec>>;
----------------
michaelrj-google wrote:

this should be `ConstRestrictStructTimeSpecPtr`

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


More information about the libc-commits mailing list