[clang] [clang][MBD] set up module build daemon infrastructure (PR #67562)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 29 10:33:56 PDT 2023
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 b4a899999a5edf08af9e03324274ebdce7e032ce 18d413991f49162923172fbb8ee5016eef954636 -- clang/include/clang/Tooling/ModuleBuildDaemon/Client.h clang/include/clang/Tooling/ModuleBuildDaemon/SocketMsgSupport.h clang/include/clang/Tooling/ModuleBuildDaemon/SocketSupport.h clang/include/clang/Tooling/ModuleBuildDaemon/Utils.h clang/lib/Tooling/ModuleBuildDaemon/Client.cpp clang/lib/Tooling/ModuleBuildDaemon/SocketSupport.cpp clang/lib/Tooling/ModuleBuildDaemon/Utils.cpp clang/test/ModuleBuildDaemon/handshake.c clang/test/ModuleBuildDaemon/launch.c clang/tools/driver/cc1modbuildd_main.cpp clang/include/clang/Frontend/FrontendOptions.h clang/lib/Driver/ToolChains/Clang.cpp clang/test/Driver/unknown-arg.c clang/tools/driver/cc1_main.cpp clang/tools/driver/driver.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Tooling/ModuleBuildDaemon/Client.cpp b/clang/lib/Tooling/ModuleBuildDaemon/Client.cpp
index 576a3c0ce9c0..766b78ee940d 100644
--- a/clang/lib/Tooling/ModuleBuildDaemon/Client.cpp
+++ b/clang/lib/Tooling/ModuleBuildDaemon/Client.cpp
@@ -126,7 +126,7 @@ Expected<int> cc1modbuildd::getModuleBuildDaemon(const char *Argv0,
return std::move(*MaybeFD);
consumeError(MaybeFD.takeError());
}
-
+
CumulativeTime += WaitTime;
// Exponential backoff
WaitTime = WaitTime * 2;
``````````
</details>
https://github.com/llvm/llvm-project/pull/67562
More information about the cfe-commits
mailing list