From 23ea2c4f4a928f196730f1e71617ceccb677ce32 Mon Sep 17 00:00:00 2001 From: Michael Jones Date: Mon, 20 Mar 2023 17:20:01 -0700 Subject: [PATCH] [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 --- libc/spec/spec.td | 1 - libc/spec/stdc.td | 2 -- 2 files changed, 3 deletions(-) diff --git a/libc/spec/spec.td b/libc/spec/spec.td index 7a691f255e0b..2336754c5d03 100644 --- a/libc/spec/spec.td +++ b/libc/spec/spec.td @@ -61,7 +61,6 @@ def RestrictedSizeTPtr : RestrictedPtrType; def WCharType : NamedType<"wchar_t">; def WIntType : NamedType<"wint_t">; -def MBStateType : NamedType<"mbstate_t">; def LongDoublePtr : PtrType; diff --git a/libc/spec/stdc.td b/libc/spec/stdc.td index fd732b74fae1..56ee9a60d10a 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 [