[Lldb-commits] [lldb] [LLDB] Fix GetIndexOfChildMemberWithName to handle anonymous structs. (PR #138487)

2025-05-04 Thread via lldb-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff HEAD~1 HEAD --extensions cpp -- lldb/test/API/lang/cpp/type_lookup_anon_struct/main.c

[Lldb-commits] [lldb] [LLDB] Fix GetIndexOfChildMemberWithName to handle anonymous structs. (PR #138487)

2025-05-04 Thread via lldb-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r HEAD~1...HEAD lldb/test/API/lang/cpp/type_lookup_anon_struct/TestCppTypeLookupAnonStruct.p

[Lldb-commits] [lldb] [LLDB] Fix GetIndexOfChildMemberWithName to handle anonymous structs. (PR #138487)

2025-05-04 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: None (cmtice) Changes When handling anonymous structs, GetIndexOfChildMemberWithName needs to add the number of non-empty base classes to the child index, to get the actual correct index. It was not doing so. This fixes that. --- Full dif

[Lldb-commits] [lldb] [LLDB] Fix GetIndexOfChildMemberWithName to handle anonymous structs. (PR #138487)

2025-05-04 Thread via lldb-commits
https://github.com/cmtice created https://github.com/llvm/llvm-project/pull/138487 When handling anonymous structs, GetIndexOfChildMemberWithName needs to add the number of non-empty base classes to the child index, to get the actual correct index. It was not doing so. This fixes that.

[Lldb-commits] [lldb] [lldb] Remove unused local variables (NFC) (PR #138457)

2025-05-04 Thread Kazu Hirata via lldb-commits
https://github.com/kazutakahirata closed https://github.com/llvm/llvm-project/pull/138457 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 61714c1 - [lldb] Remove unused local variables (NFC) (#138457)

2025-05-04 Thread via lldb-commits
Author: Kazu Hirata Date: 2025-05-04T11:56:22-07:00 New Revision: 61714c16be4935d03f52ea7f11cee2f58a82d9fd URL: https://github.com/llvm/llvm-project/commit/61714c16be4935d03f52ea7f11cee2f58a82d9fd DIFF: https://github.com/llvm/llvm-project/commit/61714c16be4935d03f52ea7f11cee2f58a82d9fd.diff L

[Lldb-commits] [lldb] [lldb] Remove unused local variables (NFC) (PR #138457)

2025-05-04 Thread Matt Arsenault via lldb-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/138457 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Remove unused local variables (NFC) (PR #138457)

2025-05-04 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/138457.diff 13 Files Affected: - (modified) lldb/source/Commands/CommandObjectCommands.cpp (+1-2) - (modified) lldb/source/Core/FormatEntity.

[Lldb-commits] [lldb] [lldb] Remove unused local variables (NFC) (PR #138457)

2025-05-04 Thread Kazu Hirata via lldb-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/138457 None >From 3f79743b6f2a71f764cd86201820c25efee33851 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 4 May 2025 09:28:01 -0700 Subject: [PATCH] [lldb] Remove unused local variables (NFC) --- lldb/