From f1871cc537729771202e12ea3ec450860661e92c Mon Sep 17 00:00:00 2001 From: Egor Zhdan Date: Fri, 8 Nov 2024 20:38:35 +0000 Subject: [PATCH] [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 https://github.com/swiftlang/swift/pull/77450. rdar://139435937 rdar://106459037 --- .../TestSwiftForwardInteropVariadicTemplateTypes.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lldb/test/API/lang/swift/cxx_interop/forward/variadic-template-types/TestSwiftForwardInteropVariadicTemplateTypes.py b/lldb/test/API/lang/swift/cxx_interop/forward/variadic-template-types/TestSwiftForwardInteropVariadicTemplateTypes.py index 19501ba8d14b1..e0b99818ec091 100644 --- a/lldb/test/API/lang/swift/cxx_interop/forward/variadic-template-types/TestSwiftForwardInteropVariadicTemplateTypes.py +++ b/lldb/test/API/lang/swift/cxx_interop/forward/variadic-template-types/TestSwiftForwardInteropVariadicTemplateTypes.py @@ -17,9 +17,9 @@ def test(self): self.expect('frame var pair', substrs=['Pair', 'Tuple', '_t', 'v = false', '_t', 'a1', '10', 'a2', '20', 'a3', '30']) - self.expect('expr pair', substrs=['Pair', 'Tuple', '_t', - 'v = false', '_t', 'a1', '10', 'a2', '20', 'a3', '30']) - # rdar://106459037 (Swift/C++ interop: Variadic templates aren't displayed correctly) - # self.expect('frame var variadic', substrs=['Tuple', '_t', - # 'v = false', 'a1', '10', 'a2', '20', 'a3', '30']) + # self.expect('expr pair', substrs=['Pair', 'Tuple', '_t', + # 'v = false', '_t', 'a1', '10', 'a2', '20', 'a3', '30']) + + self.expect('frame var variadic', substrs=['Tuple', '_t', + 'a1', '10', 'a2', '20', 'a3', '30', 'v = false'])