[Lldb-commits] [lldb] [lldb-dap] Fix DAPError (PR #145010)
via lldb-commits
lldb-commits at lists.llvm.org
Sun Jun 22 05:23:38 PDT 2025
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 HEAD~1 HEAD --extensions cpp,h -- lldb/unittests/DAP/DAPErrorTest.cpp lldb/tools/lldb-dap/DAPError.cpp lldb/tools/lldb-dap/DAPError.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/tools/lldb-dap/DAPError.cpp b/lldb/tools/lldb-dap/DAPError.cpp
index d2f80c5c6..5c5bae37c 100644
--- a/lldb/tools/lldb-dap/DAPError.cpp
+++ b/lldb/tools/lldb-dap/DAPError.cpp
@@ -23,9 +23,7 @@ DAPError::DAPError(std::string message, std::error_code EC, bool show_user,
void DAPError::log(llvm::raw_ostream &OS) const { OS << m_message; }
-std::error_code DAPError::convertToErrorCode() const {
- return m_ec;
-}
+std::error_code DAPError::convertToErrorCode() const { return m_ec; }
char NotStoppedError::ID;
``````````
</details>
https://github.com/llvm/llvm-project/pull/145010
More information about the lldb-commits
mailing list