[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
2021-11-10 12:24:52 -08:00
parent faa019c0e3
commit 0d62e31c45
2 changed files with 2 additions and 2 deletions

View File

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

View File

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