summaryrefslogtreecommitdiff
path: root/libc/spec
diff options
context:
space:
mode:
authorMichael Jones <michaelrj@google.com>2023-03-20 17:20:01 -0700
committerMichael Jones <michaelrj@google.com>2023-03-20 17:22:52 -0700
commit23ea2c4f4a928f196730f1e71617ceccb677ce32 (patch)
tree7ff7595edd2f7ffc7a3b15e3513665ed48ce0b63 /libc/spec
parent1a79b25d36cebc84325e46be1fa3595c1dded785 (diff)
downloadllvm-23ea2c4f4a928f196730f1e71617ceccb677ce32.tar.gz
[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
Diffstat (limited to 'libc/spec')
-rw-r--r--libc/spec/spec.td1
-rw-r--r--libc/spec/stdc.td2
2 files changed, 0 insertions, 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<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 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
[