[flang-commits] [flang] [flang] Record the evaluations that branch to each evaluation (PR #225755)
via flang-commits
flang-commits at lists.llvm.org
Wed Sep 23 06:11:21 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 h,cpp -- flang/include/flang/Lower/PFTBuilder.h flang/include/flang/Lower/PFTDefs.h flang/lib/Lower/PFTBuilder.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/flang/lib/Lower/PFTBuilder.cpp b/flang/lib/Lower/PFTBuilder.cpp
index a47aa0853..e6a4d1190 100644
--- a/flang/lib/Lower/PFTBuilder.cpp
+++ b/flang/lib/Lower/PFTBuilder.cpp
@@ -1502,9 +1502,9 @@ public:
if (it != unit->incomingBranches.end() && !it->second.empty()) {
outputStream << " <- ";
llvm::interleaveComma(it->second, outputStream,
- [&](const lower::pft::Evaluation *src) {
- outputStream << src->printIndex;
- });
+ [&](const lower::pft::Evaluation *src) {
+ outputStream << src->printIndex;
+ });
}
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/225755
More information about the flang-commits
mailing list