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 f02b7770bb04b88455804b371dba1f44a86b90da 
db0bc4829b02aedf7a988824b38b56a1564a8125 -- 
lldb/source/Plugins/Process/wasm/ProcessWasm.cpp 
lldb/source/Plugins/Process/wasm/ProcessWasm.h 
lldb/source/Plugins/Process/wasm/ThreadWasm.cpp 
lldb/source/Plugins/Process/wasm/ThreadWasm.h 
lldb/source/Plugins/Process/wasm/UnwindWasm.cpp 
lldb/source/Plugins/Process/wasm/UnwindWasm.h 
lldb/source/Plugins/Process/wasm/wasmRegisterContext.cpp 
lldb/source/Plugins/Process/wasm/wasmRegisterContext.h 
lldb/test/API/functionalities/gdb_remote_client/calc.cpp 
lldb/include/lldb/Target/Process.h lldb/source/Core/Value.cpp 
lldb/source/Expression/DWARFExpression.cpp 
lldb/source/Expression/Materializer.cpp 
lldb/source/Interpreter/CommandInterpreter.cpp 
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp 
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
``````````

</details>

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

``````````diff
diff --git a/lldb/test/API/functionalities/gdb_remote_client/calc.cpp 
b/lldb/test/API/functionalities/gdb_remote_client/calc.cpp
index 7e4c53c42c..450a318ec8 100644
--- a/lldb/test/API/functionalities/gdb_remote_client/calc.cpp
+++ b/lldb/test/API/functionalities/gdb_remote_client/calc.cpp
@@ -4,15 +4,11 @@ struct Number {
 };
 
 struct Calc {
-  void add(const Number& number) {
-    result_ += number.value_;
-  }
+  void add(const Number &number) { result_ += number.value_; }
 
-  Number result() const {
-    return Number(result_);
-  }
+  Number result() const { return Number(result_); }
 
- private:
+private:
   double result_ = 0;
 };
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/77949
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to