Skip to content

Commit 98803ec

Browse files
committed
[cxx-interop] [nfc] HasMemberWithDestructor => StructWithSubobjectDestructor in comment.
The type "HasMemberWithDestructor" doesn't exist. It was replaced with StructWithSubobjectDestructor but the comment wasn't updated.
1 parent 059344d commit 98803ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Interop/Cxx/class/type-classification-non-trivial-silgen.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public func testStructWithDestructor() {
1212
let d = StructWithDestructor()
1313
}
1414

15-
// Make sure that "HasMemberWithDestructor" is marked as non-trivial by checking
15+
// Make sure that "StructWithSubobjectDestructor" is marked as non-trivial by checking
1616
// for a "destroy_addr".
1717
// CHECK-LABEL: @$s4main33testStructWithSubobjectDestructoryyF
1818
// CHECK: [[AS:%.*]] = alloc_stack $StructWithSubobjectDestructor

0 commit comments

Comments
 (0)