[Lldb-commits] [lldb] [LLDB] Fix crash in TypeSystemClang::GetIndexofChildMemberWithName. (PR #117808)

via lldb-commits lldb-commits at lists.llvm.org
Sun Dec 1 12:35:23 PST 2024


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 8458bbe5947db75041579c7c1a0f7f79c8e992d9 59c71a9ea44f34ac1d4d074d0c91bc8291701dd3 --extensions cpp -- lldb/test/API/commands/frame/var/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/commands/frame/var/anon-struct/main.cpp b/lldb/test/API/commands/frame/var/anon-struct/main.cpp
index 1deda70376..6a3d1f0f66 100644
--- a/lldb/test/API/commands/frame/var/anon-struct/main.cpp
+++ b/lldb/test/API/commands/frame/var/anon-struct/main.cpp
@@ -1,5 +1,4 @@
-int main(int argc, char** argv)
-{
+int main(int argc, char **argv) {
   struct A {
     struct {
       int x = 1;

``````````

</details>


https://github.com/llvm/llvm-project/pull/117808


More information about the lldb-commits mailing list