[LLDB][NFC] Fix test that broke due to libc++ std::vector changes
D112976 moved most of the guts of __vector_base into vector, this broke some LLDB tests by changing the result types that LLDB sees. This updates the test to reflect the new structure.
This commit is contained in:
@@ -23,7 +23,7 @@ class TestVectorOfVectors(TestBase):
|
||||
vector_type = "std::vector<int>"
|
||||
vector_of_vector_type = "std::vector<" + vector_type + " >"
|
||||
size_type = vector_of_vector_type + "::size_type"
|
||||
value_type = "std::__vector_base<int, std::allocator<int> >::value_type"
|
||||
value_type = "std::vector<int>::value_type"
|
||||
|
||||
self.runCmd("settings set target.import-std-module true")
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ class TestBasicVector(TestBase):
|
||||
|
||||
vector_type = "std::vector<int>"
|
||||
size_type = vector_type + "::size_type"
|
||||
value_type = "std::__vector_base<int, std::allocator<int> >::value_type"
|
||||
value_type = "std::vector<int>::value_type"
|
||||
iterator = vector_type + "::iterator"
|
||||
# LLDB's formatter provides us with a artificial 'item' member.
|
||||
iterator_children = [ValueCheck(name="item")]
|
||||
|
||||
Reference in New Issue
Block a user