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 14b43563d1618c71385f3ac15a475adf9d0ef5f9
40c846ddf089d1a084eafc0e698f5c8d33954ca8 --extensions h,cpp --
clang/lib/CodeGen/BackendUtil.cpp llvm/include/llvm/CGData/CodeGenData.h
llvm/include/llvm/LTO/LTOBackend.h llvm/lib/CGData/CodeGenData.cpp
llvm/lib/LTO/LTO.cpp llvm/lib/LTO/LTOBackend.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/LTO/LTOBackend.cpp b/llvm/lib/LTO/LTOBackend.cpp
index 159ed38144..e146ee8e14 100644
--- a/llvm/lib/LTO/LTOBackend.cpp
+++ b/llvm/lib/LTO/LTOBackend.cpp
@@ -611,7 +611,8 @@ Error lto::thinBackend(const Config &Conf, unsigned Task,
AddStreamFn AddStream,
// Save the current module before the first codegen round.
// Note that the second codegen round runs only `codegen()` without
// running `opt()`. We're not reaching here as it's bailed out earlier
- // with `CodeGenOnly` which has been set in
`OptimizedBitcodeThinBackend`.
+ // with `CodeGenOnly` which has been set in
+ // `OptimizedBitcodeThinBackend`.
if (CodeGenDataThinLTOTwoRounds)
cgdata::saveModuleForTwoRounds(Mod, Task);
``````````
</details>
https://github.com/llvm/llvm-project/pull/108614
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits