github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash git-clang-format --diff d337f5aa59fecd2413b076ed9573e378c57c1307 c6936f3d5d0592babe9082e867b179af594c447b --extensions h,cpp -- lldb/test/API/lang/cpp/dynamic-value/a.h lldb/test/API/lang/cpp/dynamic-value/anonymous-b.cpp lldb/include/lldb/Symbol/Type.h lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp lldb/source/Symbol/Type.cpp lldb/test/API/lang/cpp/dynamic-value/pass-to-base.cpp lldb/unittests/Symbol/TestType.cpp lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/lldb/test/API/lang/cpp/dynamic-value/anonymous-b.cpp b/lldb/test/API/lang/cpp/dynamic-value/anonymous-b.cpp index 3bfd4f4b96..755afcbf12 100644 --- a/lldb/test/API/lang/cpp/dynamic-value/anonymous-b.cpp +++ b/lldb/test/API/lang/cpp/dynamic-value/anonymous-b.cpp @@ -10,6 +10,4 @@ private: }; } // namespace -A *make_anonymous_B() { - return new B(); -} +A *make_anonymous_B() { return new B(); } diff --git a/lldb/test/API/lang/cpp/dynamic-value/pass-to-base.cpp b/lldb/test/API/lang/cpp/dynamic-value/pass-to-base.cpp index be763390cc..74bea2214a 100644 --- a/lldb/test/API/lang/cpp/dynamic-value/pass-to-base.cpp +++ b/lldb/test/API/lang/cpp/dynamic-value/pass-to-base.cpp @@ -3,7 +3,8 @@ void A::doSomething(A &anotherA) { printf("In A %p doing something with %d.\n", this, m_a_value); int tmp_value = anotherA.Value(); - printf("Also have another A at %p: %d.\n", &anotherA, tmp_value); // Break here in doSomething. + printf("Also have another A at %p: %d.\n", &anotherA, + tmp_value); // Break here in doSomething. } class Extra diff --git a/lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp b/lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp index 07e6cf78b7..1e4c8f3ba0 100644 --- a/lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp +++ b/lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp @@ -275,10 +275,12 @@ DWARF: {DW_TAG_namespace, "NAMESPACE"}})); EXPECT_THAT(anon_struct_die.GetDeclContext(), testing::ElementsAre(make_namespace("NAMESPACE"), - make_namespace(nullptr), make_struct("STRUCT"))); + make_namespace(nullptr), + make_struct("STRUCT"))); EXPECT_THAT(anon_struct_die.GetTypeLookupContext(), testing::ElementsAre(make_namespace("NAMESPACE"), - make_namespace(nullptr), make_struct("STRUCT"))); + make_namespace(nullptr), + make_struct("STRUCT"))); EXPECT_THAT(anon_struct_die.GetDWARFDeclContext(), DWARFDeclContext({{DW_TAG_structure_type, "STRUCT"}, {DW_TAG_namespace, nullptr}, `````````` </details> https://github.com/llvm/llvm-project/pull/102111 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits