[libc-commits] [libc] 23ea2c4 - [libc][obvious] remove currently unused types

Michael Jones via libc-commits libc-commits at lists.llvm.org
Mon Mar 20 17:22:58 PDT 2023


Author: Michael Jones
Date: 2023-03-20T17:22:52-07:00
New Revision: 23ea2c4f4a928f196730f1e71617ceccb677ce32

URL: https://github.com/llvm/llvm-project/commit/23ea2c4f4a928f196730f1e71617ceccb677ce32
DIFF: https://github.com/llvm/llvm-project/commit/23ea2c4f4a928f196730f1e71617ceccb677ce32.diff

LOG: [libc][obvious] remove currently unused types

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

Differential Revision: https://reviews.llvm.org/D146476

Added: 
    

Modified: 
    libc/spec/spec.td
    libc/spec/stdc.td

Removed: 
    


################################################################################
diff  --git a/libc/spec/spec.td b/libc/spec/spec.td
index 7a691f255e0b7..2336754c5d030 100644
--- a/libc/spec/spec.td
+++ b/libc/spec/spec.td
@@ -61,7 +61,6 @@ def RestrictedSizeTPtr : RestrictedPtrType<SizeTType>;
 
 def WCharType : NamedType<"wchar_t">;
 def WIntType : NamedType<"wint_t">;
-def MBStateType : NamedType<"mbstate_t">;
 
 def LongDoublePtr : PtrType<LongDoubleType>;
 

diff  --git a/libc/spec/stdc.td b/libc/spec/stdc.td
index fd732b74fae1e..56ee9a60d10ae 100644
--- a/libc/spec/stdc.td
+++ b/libc/spec/stdc.td
@@ -1078,8 +1078,6 @@ def StdC : StandardSpec<"stdc"> {
         SizeTType,
         WIntType,
         WCharType,
-        MBStateType,
-        StructTmType,
       ],
       [], // Enumerations
       [


        


More information about the libc-commits mailing list