[Lldb-commits] [lldb] [LLDB] Fix crash when using tab completion on class variables (PR #83234)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 28 07:37:42 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 9f99eda1208787364b1a381b2d4e146fc4868cd5 dab0c4b75bd07cc5fbad313311b6a747f985712d -- lldb/source/Symbol/Variable.cpp lldb/test/API/functionalities/completion/main.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/test/API/functionalities/completion/main.cpp b/lldb/test/API/functionalities/completion/main.cpp
index 104dcc88e8..f925c1d5ac 100644
--- a/lldb/test/API/functionalities/completion/main.cpp
+++ b/lldb/test/API/functionalities/completion/main.cpp
@@ -1,21 +1,17 @@
#include <iostream>
-class Baz
-{
+class Baz {
public:
- int x;
+ int x;
};
class Foo
{
public:
- Baz t;
- int temp;
+ Baz t;
+ int temp;
- int Bar(int x, int y)
- {
- return x + y;
- }
+ int Bar(int x, int y) { return x + y; }
};
namespace { int Quux (void) { return 0; } }
``````````
</details>
https://github.com/llvm/llvm-project/pull/83234
More information about the lldb-commits
mailing list