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 HEAD~1 HEAD --extensions cpp -- lldb/test/API/lang/cpp/type_lookup_anon_struct/main.cpp lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/lldb/test/API/lang/cpp/type_lookup_anon_struct/main.cpp b/lldb/test/API/lang/cpp/type_lookup_anon_struct/main.cpp index 18dd997ea..0c218ad9f 100644 --- a/lldb/test/API/lang/cpp/type_lookup_anon_struct/main.cpp +++ b/lldb/test/API/lang/cpp/type_lookup_anon_struct/main.cpp @@ -1,4 +1,4 @@ -int main(int argc, char** argv) { +int main(int argc, char **argv) { struct A { struct { int x = 1; @@ -6,7 +6,7 @@ int main(int argc, char** argv) { int y = 2; } a; - struct B { + struct B { // Anonymous struct inherits another struct. struct : public A { int z = 3; @@ -15,19 +15,19 @@ int main(int argc, char** argv) { A a; } b; - struct : public A { - struct { - int z = 13; - }; - } unnamed_derived; + struct : public A { + struct { + int z = 13; + }; + } unnamed_derived; - struct DerivedB : public B { - struct { - // `w` in anonymous struct overrides `w` from `B`. - int w = 14; - int k = 15; - }; - } derb; + struct DerivedB : public B { + struct { + // `w` in anonymous struct overrides `w` from `B`. + int w = 14; + int k = 15; + }; + } derb; - return 0; // Set breakpoint here + return 0; // Set breakpoint here } `````````` </details> https://github.com/llvm/llvm-project/pull/138487 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits