From 98803ec9926f685be7f9bd76f6e76dec241a00a0 Mon Sep 17 00:00:00 2001 From: zoecarver Date: Mon, 27 Jul 2020 19:15:05 -0700 Subject: [PATCH] [cxx-interop] [nfc] HasMemberWithDestructor => StructWithSubobjectDestructor in comment. The type "HasMemberWithDestructor" doesn't exist. It was replaced with StructWithSubobjectDestructor but the comment wasn't updated. --- .../Cxx/class/type-classification-non-trivial-silgen.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Interop/Cxx/class/type-classification-non-trivial-silgen.swift b/test/Interop/Cxx/class/type-classification-non-trivial-silgen.swift index a4ba0bdaccbe0..3ed07447a4cfe 100644 --- a/test/Interop/Cxx/class/type-classification-non-trivial-silgen.swift +++ b/test/Interop/Cxx/class/type-classification-non-trivial-silgen.swift @@ -12,7 +12,7 @@ public func testStructWithDestructor() { let d = StructWithDestructor() } -// Make sure that "HasMemberWithDestructor" is marked as non-trivial by checking +// Make sure that "StructWithSubobjectDestructor" is marked as non-trivial by checking // for a "destroy_addr". // CHECK-LABEL: @$s4main33testStructWithSubobjectDestructoryyF // CHECK: [[AS:%.*]] = alloc_stack $StructWithSubobjectDestructor