[llvm] [orc-rt] Updating socket handling on win to get it fully stubbed (PR #228038)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 1 04:12:44 PDT 2026
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 -- orc-rt/lib/bedrock/sys/windows/SocketHandle.cpp orc-rt/lib/bedrock/sys/windows/CPUFeatures.cpp orc-rt/lib/bedrock/sys/windows/SocketConnector.cpp --diff_from_common_commit
``````````
: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/orc-rt/lib/bedrock/sys/windows/SocketConnector.cpp b/orc-rt/lib/bedrock/sys/windows/SocketConnector.cpp
index 496bbb820..6afb27d10 100644
--- a/orc-rt/lib/bedrock/sys/windows/SocketConnector.cpp
+++ b/orc-rt/lib/bedrock/sys/windows/SocketConnector.cpp
@@ -13,11 +13,11 @@ using namespace orc_rt;
namespace orc_rt {
Error registerSocketConnector(ConnectorRegistry &R) noexcept {
- return R.registerConnector(
- "socket",
- [](const ConnectionSpec &, Session &, BootstrapInfo) noexcept -> Error {
- return make_error<StringError>("socket connector not implemented");
- });
+ return R.registerConnector(
+ "socket",
+ [](const ConnectionSpec &, Session &, BootstrapInfo) noexcept -> Error {
+ return make_error<StringError>("socket connector not implemented");
+ });
}
} // namespace orc_rt
``````````
</details>
https://github.com/llvm/llvm-project/pull/228038
More information about the llvm-commits
mailing list