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/Handler/ModuleSymbolsRequestHandler.cpp 
lldb/unittests/DAP/DAPTypesTest.cpp lldb/include/lldb/API/SBSymbol.h 
lldb/include/lldb/API/SBTarget.h lldb/source/API/SBSymbol.cpp 
lldb/source/API/SBTarget.cpp lldb/tools/lldb-dap/Breakpoint.cpp 
lldb/tools/lldb-dap/DAP.cpp lldb/tools/lldb-dap/Handler/RequestHandler.h 
lldb/tools/lldb-dap/Protocol/DAPTypes.cpp 
lldb/tools/lldb-dap/Protocol/DAPTypes.h 
lldb/tools/lldb-dap/Protocol/ProtocolRequests.cpp 
lldb/tools/lldb-dap/Protocol/ProtocolRequests.h 
lldb/tools/lldb-dap/Protocol/ProtocolTypes.h 
lldb/tools/lldb-dap/SourceBreakpoint.cpp lldb/tools/lldb-dap/SourceBreakpoint.h
``````````

</details>

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

``````````diff
diff --git a/lldb/tools/lldb-dap/Protocol/DAPTypes.cpp 
b/lldb/tools/lldb-dap/Protocol/DAPTypes.cpp
index 4d3bc3d0f..4867fb264 100644
--- a/lldb/tools/lldb-dap/Protocol/DAPTypes.cpp
+++ b/lldb/tools/lldb-dap/Protocol/DAPTypes.cpp
@@ -33,8 +33,7 @@ llvm::json::Value toJSON(const SourceLLDBData &SLD) {
   return result;
 }
 
-bool fromJSON(const llvm::json::Value &Params, Symbol &DS,
-              llvm::json::Path P) {
+bool fromJSON(const llvm::json::Value &Params, Symbol &DS, llvm::json::Path P) 
{
   json::ObjectMapper O(Params, P);
   return O && O.map("userId", DS.userId) && O.map("isDebug", DS.isDebug) &&
          O.map("isSynthetic", DS.isSynthetic) &&

``````````

</details>


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

Reply via email to