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 origin/main HEAD --extensions cpp,h -- 
lldb/include/lldb/Host/HostInfoBase.h 
lldb/include/lldb/Host/macosx/HostInfoMacOSX.h lldb/source/API/SBHostOS.cpp 
lldb/source/Commands/CommandObjectProtocolServer.cpp 
lldb/source/Host/common/Editline.cpp lldb/source/Host/common/HostInfoBase.cpp 
lldb/source/Interpreter/CommandInterpreter.cpp 
lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.cpp 
lldb/source/Plugins/Protocol/MCP/ProtocolServerMCP.h 
lldb/source/Protocol/MCP/Server.cpp
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/lldb/source/Host/common/HostInfoBase.cpp 
b/lldb/source/Host/common/HostInfoBase.cpp
index c7b13f6fb..a02ac77df 100644
--- a/lldb/source/Host/common/HostInfoBase.cpp
+++ b/lldb/source/Host/common/HostInfoBase.cpp
@@ -169,7 +169,8 @@ FileSpec HostInfoBase::GetUserHomeDir() {
   llvm::call_once(g_fields->m_lldb_user_home_dir_once, []() {
     if (!HostInfo::ComputeUserHomeDirectory(g_fields->m_lldb_user_home_dir))
       g_fields->m_lldb_user_home_dir = FileSpec();
-    LLDB_LOG(GetLog(LLDBLog::Host), "user home dir -> `{0}`", 
g_fields->m_lldb_user_home_dir);
+    LLDB_LOG(GetLog(LLDBLog::Host), "user home dir -> `{0}`",
+             g_fields->m_lldb_user_home_dir);
   });
   return g_fields->m_lldb_user_home_dir;
 }

``````````

</details>


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

Reply via email to