Skip to content

Commit 0fb52c0

Browse files
committed
code format
1 parent e5d3d28 commit 0fb52c0

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1701,7 +1701,8 @@ static void LoadCommonStlFormatters(lldb::TypeCategoryImplSP cpp_category_sp) {
17011701
"MSVC STL/libstdc++ std::wstring summary provider"));
17021702

17031703
// NOTE: it is loaded as a common formatter because the libc++ version is not
1704-
// in the `__1` namespace, hence we need to dispatch based on the class layout.
1704+
// in the `__1` namespace, hence we need to dispatch based on the class
1705+
// layout.
17051706
AddCXXSynthetic(cpp_category_sp,
17061707
GenericInitializerListSyntheticFrontEndCreator,
17071708
"std::initializer_list synthetic children",

lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/initializer_list/TestDataFormatterStdInitializerList.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,16 @@ def do_test(self):
2929
)
3030

3131
self.expect(
32-
"frame variable ili", substrs=["ili = size=5", "[1] = 2", "[4] = 5"]
32+
"frame variable ili",
33+
substrs=["ili = size=5", "[0] = 1", "[1] = 2", "[4] = 5"],
3334
)
3435
self.expect(
3536
"frame variable ils",
36-
substrs=["ils = size=5","[0] = 1", '[4] = "surprise it is a long string!! yay!!"'],
37+
substrs=[
38+
"ils = size=5",
39+
'[0] = "1"',
40+
'[4] = "surprise it is a long string!! yay!!"',
41+
],
3742
)
3843

3944
@add_test_categories(["libc++"])

0 commit comments

Comments
 (0)