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 h,cpp -- 
lldb/tools/lldb-dap/Protocol/ProtocolUtils.cpp 
lldb/tools/lldb-dap/Protocol/ProtocolUtils.h lldb/source/API/SBTarget.cpp 
lldb/source/Core/Module.cpp lldb/tools/lldb-dap/Breakpoint.cpp 
lldb/tools/lldb-dap/Handler/DisassembleRequestHandler.cpp 
lldb/tools/lldb-dap/Handler/LocationsRequestHandler.cpp 
lldb/tools/lldb-dap/Handler/StackTraceRequestHandler.cpp 
lldb/tools/lldb-dap/JSONUtils.cpp lldb/tools/lldb-dap/JSONUtils.h 
lldb/tools/lldb-dap/LLDBUtils.cpp lldb/tools/lldb-dap/LLDBUtils.h
``````````

</details>

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

``````````diff
diff --git a/lldb/tools/lldb-dap/LLDBUtils.cpp 
b/lldb/tools/lldb-dap/LLDBUtils.cpp
index bcd3308ff..3d3fc433a 100644
--- a/lldb/tools/lldb-dap/LLDBUtils.cpp
+++ b/lldb/tools/lldb-dap/LLDBUtils.cpp
@@ -254,8 +254,8 @@ std::string GetSBFileSpecPath(const lldb::SBFileSpec 
&file_spec) {
 
 lldb::SBLineEntry GetLineEntryForAddress(lldb::SBTarget &target,
                                          lldb::SBAddress &address) {
-  lldb::SBSymbolContext sc =
-      target.ResolveSymbolContextForAddress(address, 
lldb::eSymbolContextLineEntry);
+  lldb::SBSymbolContext sc = target.ResolveSymbolContextForAddress(
+      address, lldb::eSymbolContextLineEntry);
   return sc.GetLineEntry();
 }
 

``````````

</details>


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

Reply via email to