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 {
363363 int *extraInhabitantIndex) const override ;
364364
365365 BitMask getSpareBits (TypeConverter &TC, bool &hasAddrOnly) const override ;
366-
366+ const TypeInfo * getElementTypeInfo () const { return ElementTI; }
367367 static bool classof (const TypeInfo *TI) {
368368 return TI->getKind () == TypeInfoKind::Array;
369369 }
Original file line number Diff line number Diff line change @@ -179,19 +179,12 @@ TypeDecl *DebugTypeInfo::getDecl() const {
179179 return nullptr ;
180180}
181181
182- bool DebugTypeInfo::isForwardDecl () const {
183- return isNull () || (!isa<TypeAliasType>(getType ()));
184- }
185-
186182#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
187183LLVM_DUMP_METHOD void DebugTypeInfo::dump () const {
188184 llvm::errs () << " [" ;
189185 llvm::errs () << " Alignment " << Align.getValue () << " ] " ;
190186 if (auto *Type = getType ())
191187 Type->dump (llvm::errs ());
192-
193- if (isForwardDecl ())
194- llvm::errs () << " forward-declared\n " ;
195188}
196189#endif
197190
Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ class DebugTypeInfo {
9797
9898 Alignment getAlignment () const { return Align; }
9999 bool isNull () const { return !Type; }
100- bool isForwardDecl () const ;
101100 bool isMetadataType () const { return IsMetadataType; }
102101 bool hasDefaultAlignment () const { return DefaultAlignment; }
103102 bool isFixedBuffer () const { return IsFixedBuffer; }
You can’t perform that action at this time.
0 commit comments