File tree Expand file tree Collapse file tree 3 files changed +1
-9
lines changed
include/swift/RemoteInspection Expand file tree Collapse file tree 3 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ class ArrayTypeInfo : public TypeInfo {
363
363
int *extraInhabitantIndex) const override ;
364
364
365
365
BitMask getSpareBits (TypeConverter &TC, bool &hasAddrOnly) const override ;
366
-
366
+ const TypeInfo * getElementTypeInfo () const { return ElementTI; }
367
367
static bool classof (const TypeInfo *TI) {
368
368
return TI->getKind () == TypeInfoKind::Array;
369
369
}
Original file line number Diff line number Diff line change @@ -179,19 +179,12 @@ TypeDecl *DebugTypeInfo::getDecl() const {
179
179
return nullptr ;
180
180
}
181
181
182
- bool DebugTypeInfo::isForwardDecl () const {
183
- return isNull () || (!isa<TypeAliasType>(getType ()));
184
- }
185
-
186
182
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
187
183
LLVM_DUMP_METHOD void DebugTypeInfo::dump () const {
188
184
llvm::errs () << " [" ;
189
185
llvm::errs () << " Alignment " << Align.getValue () << " ] " ;
190
186
if (auto *Type = getType ())
191
187
Type->dump (llvm::errs ());
192
-
193
- if (isForwardDecl ())
194
- llvm::errs () << " forward-declared\n " ;
195
188
}
196
189
#endif
197
190
Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ class DebugTypeInfo {
97
97
98
98
Alignment getAlignment () const { return Align; }
99
99
bool isNull () const { return !Type; }
100
- bool isForwardDecl () const ;
101
100
bool isMetadataType () const { return IsMetadataType; }
102
101
bool hasDefaultAlignment () const { return DefaultAlignment; }
103
102
bool isFixedBuffer () const { return IsFixedBuffer; }
You can’t perform that action at this time.
0 commit comments