Skip to content

Commit f1871cc

Browse files
committed
[cxx-interop][LLDB] Update test for variadic templates
C++ class template instantiations previously did not get a valid generated Swift type name if they used variadic generics. See swiftlang/swift#77450. rdar://139435937 rdar://106459037
1 parent 1273aa8 commit f1871cc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lldb/test/API/lang/swift/cxx_interop/forward/variadic-template-types/TestSwiftForwardInteropVariadicTemplateTypes.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ def test(self):
1717

1818
self.expect('frame var pair', substrs=['Pair', 'Tuple<OtherCxxClass>', '_t',
1919
'v = false', '_t', 'a1', '10', 'a2', '20', 'a3', '30'])
20-
self.expect('expr pair', substrs=['Pair', 'Tuple<OtherCxxClass>', '_t',
21-
'v = false', '_t', 'a1', '10', 'a2', '20', 'a3', '30'])
22-
2320
# rdar://106459037 (Swift/C++ interop: Variadic templates aren't displayed correctly)
24-
# self.expect('frame var variadic', substrs=['Tuple<CxxClass, OtherCxxClass>', '_t',
25-
# 'v = false', 'a1', '10', 'a2', '20', 'a3', '30'])
21+
# self.expect('expr pair', substrs=['Pair', 'Tuple<OtherCxxClass>', '_t',
22+
# 'v = false', '_t', 'a1', '10', 'a2', '20', 'a3', '30'])
23+
24+
self.expect('frame var variadic', substrs=['Tuple<OtherCxxClass, CxxClass>', '_t',
25+
'a1', '10', 'a2', '20', 'a3', '30', 'v = false'])

0 commit comments

Comments
 (0)