Skip to content

Commit 0638894

Browse files
committed
Revert "[lldb] Annotate check with use_dynamic"
This reverts commit f657c35.
1 parent 4401d66 commit 0638894

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lldb/test/API/lang/swift/unknown_reference/TestSwiftUnknownReference.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class TestSwiftUnknownReference(lldbtest.TestBase):
2121
mydir = lldbtest.TestBase.compute_mydir(__file__)
2222

2323
def check_class(self, var_self):
24-
lldbutil.check_variable(self, var_self, use_dynamic=True, num_children=2)
24+
lldbutil.check_variable(self, var_self, num_children=2)
2525
m_base_string = var_self.GetChildMemberWithName("base_string")
2626
m_string = var_self.GetChildMemberWithName("string")
2727
lldbutil.check_variable(self, m_base_string, summary='"hello"')

lldb/test/API/lang/swift/unknown_self/TestSwiftUnknownSelf.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ class TestSwiftUnknownSelf(lldbtest.TestBase):
2020

2121
def check_class(self, var_self, weak):
2222
self.expect("v self", substrs=["hello", "world"])
23-
# FIXME: This is inconsistent. If self is Optional, an extra
24-
# indirection is needed.
25-
lldbutil.check_variable(self, var_self, num_children=2 if weak else 1)
23+
lldbutil.check_variable(self, var_self, num_children=2)
2624
m_base_string = var_self.GetChildMemberWithName("base_string")
2725
m_string = var_self.GetChildMemberWithName("string")
2826
# FIXME: This is inconsistent. If self is Optional, an extra

0 commit comments

Comments
 (0)