[Lldb-commits] [lldb] [lldb][test] TestExprCompletion.py: add tests for completion of reserved identifiers (PR #84890)

via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 12 03:08:55 PDT 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 6c39fa9e9f198498ff7cf9646081437a0fc0882a ecb8e2744628207dd0ec72272428e3f57e8d68bb -- lldb/test/API/commands/expression/completion/main.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/test/API/commands/expression/completion/main.cpp b/lldb/test/API/commands/expression/completion/main.cpp
index b87f9626c9..ecbb226318 100644
--- a/lldb/test/API/commands/expression/completion/main.cpp
+++ b/lldb/test/API/commands/expression/completion/main.cpp
@@ -1,9 +1,10 @@
 class MyVec {
-    int __mem;
-    int _Mem;
+  int __mem;
+  int _Mem;
+
 public:
-    void __func() {}
-    void _Func() {}
+  void __func() {}
+  void _Func() {}
 };
 
 namespace LongNamespaceName { class NestedClass { long m; }; }

``````````

</details>


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


More information about the lldb-commits mailing list