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 815343e7dd32cc4c5c903ac52daf87aaa4e4cd6e
51401ec4a8af7d926ba3c9faa818ecb9c68c0db7 --extensions cpp --
clang/lib/Driver/ToolChains/Darwin.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Driver/ToolChains/Darwin.cpp
b/clang/lib/Driver/ToolChains/Darwin.cpp
index c23f6830b8..0d3cbb5736 100644
--- a/clang/lib/Driver/ToolChains/Darwin.cpp
+++ b/clang/lib/Driver/ToolChains/Darwin.cpp
@@ -910,8 +910,10 @@ void darwin::Lipo::ConstructJob(Compilation &C, const
JobAction &JA,
CmdArgs.push_back(II.getFilename());
}
- std::string LipoName =
std::string(Args.getLastArgValue(options::OPT_fuse_lipo_EQ, "lipo"));
- const char *Exec =
Args.MakeArgString(getToolChain().GetProgramPath(LipoName.c_str()));
+ std::string LipoName =
+ std::string(Args.getLastArgValue(options::OPT_fuse_lipo_EQ, "lipo"));
+ const char *Exec =
+ Args.MakeArgString(getToolChain().GetProgramPath(LipoName.c_str()));
C.addCommand(std::make_unique<Command>(JA, *this,
ResponseFileSupport::None(),
Exec, CmdArgs, Inputs, Output));
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/121231
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits