[libc-commits] [PATCH] D146476: [libc][obvious] remove currently unused types

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Mar 20 17:21:42 PDT 2023


michaelrj created this revision.
Herald added subscribers: libc-commits, mikhail.ramalho, ecnelises, tschuett.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.

Somehow having MBState and StructTmType in the definition for wchar was
causing test failures. This should fix those.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146476

Files:
  libc/spec/spec.td
  libc/spec/stdc.td


Index: libc/spec/stdc.td
===================================================================
--- libc/spec/stdc.td
+++ libc/spec/stdc.td
@@ -1078,8 +1078,6 @@
         SizeTType,
         WIntType,
         WCharType,
-        MBStateType,
-        StructTmType,
       ],
       [], // Enumerations
       [
Index: libc/spec/spec.td
===================================================================
--- libc/spec/spec.td
+++ libc/spec/spec.td
@@ -61,7 +61,6 @@
 
 def WCharType : NamedType<"wchar_t">;
 def WIntType : NamedType<"wint_t">;
-def MBStateType : NamedType<"mbstate_t">;
 
 def LongDoublePtr : PtrType<LongDoubleType>;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146476.506787.patch
Type: text/x-patch
Size: 635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230321/ea003421/attachment.bin>


More information about the libc-commits mailing list