Skip to content

Commit c5ad723

Browse files
Merge pull request #79088 from adrian-prantl/array-element-accessor
Add an accessor for LLDB (NFC)
2 parents 69a77d8 + 30defa2 commit c5ad723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/RemoteInspection/TypeLowering.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)