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,c --
clang/test/CodeGen/distributed-thin-lto/memprof-pgho.cpp
clang/include/clang/Driver/SanitizerArgs.h clang/lib/CodeGen/BackendUtil.cpp
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/test/CodeGen/lto-newpm-pipeline.c
clang/test/Driver/fsanitize-alloc-token.c llvm/include/llvm/LTO/Config.h
llvm/lib/LTO/LTOBackend.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/clang/lib/Driver/ToolChains/CommonArgs.cpp
b/clang/lib/Driver/ToolChains/CommonArgs.cpp
index e889061ee..8ea84c72b 100644
--- a/clang/lib/Driver/ToolChains/CommonArgs.cpp
+++ b/clang/lib/Driver/ToolChains/CommonArgs.cpp
@@ -1393,11 +1393,11 @@ void tools::addLTOOptions(const ToolChain &ToolChain,
const ArgList &Args,
CmdArgs.push_back(Args.MakeArgString(Twine(PluginOptPrefix) +
"-lto-alloc-token-mode=" + Mode));
if (Args.hasArg(options::OPT_fsanitize_alloc_token_fast_abi))
- CmdArgs.push_back(Args.MakeArgString(Twine(PluginOptPrefix) +
- "-alloc-token-fast-abi"));
+ CmdArgs.push_back(
+ Args.MakeArgString(Twine(PluginOptPrefix) +
"-alloc-token-fast-abi"));
if (Args.hasArg(options::OPT_fsanitize_alloc_token_extended))
- CmdArgs.push_back(Args.MakeArgString(Twine(PluginOptPrefix) +
- "-alloc-token-extended"));
+ CmdArgs.push_back(
+ Args.MakeArgString(Twine(PluginOptPrefix) +
"-alloc-token-extended"));
if (Arg *A = Args.getLastArg(options::OPT_falloc_token_max_EQ))
CmdArgs.push_back(Args.MakeArgString(
Twine(PluginOptPrefix) + "-alloc-token-max=" + A->getValue()));
``````````
</details>
https://github.com/llvm/llvm-project/pull/169360
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits