[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:
Shafik Yaghmour committed 2021-11-10 12:29:08 -08:00
1 parent faa019c0e3
commit 0d62e31c45
2 files changed
+2 -2

No files matched your search

@@ -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")]