Skip to content

Commit 77f4603

Browse files
committed
[cxx-interop][LLDB] Update test for variadic templates, part 1
C++ class template instantiations previously did not get a valid generated Swift type name if they used variadic generics. See swiftlang/swift#77450. Since fully enabling the test requires the Swift PR to be merged, and the Swift PR relies on this test passing, this PR temporarily disables the failing asserts. rdar://139435937 rdar://106459037
1 parent 14e578f commit 77f4603

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +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'])
20+
# rdar://106459037 (Swift/C++ interop: Variadic templates aren't displayed correctly)
21+
# self.expect('expr pair', substrs=['Pair', 'Tuple<OtherCxxClass>', '_t',
22+
# 'v = false', '_t', 'a1', '10', 'a2', '20', 'a3', '30'])
2223

2324
# rdar://106459037 (Swift/C++ interop: Variadic templates aren't displayed correctly)
2425
# self.expect('frame var variadic', substrs=['Tuple<CxxClass, OtherCxxClass>', '_t',

0 commit comments

Comments
 (0)