[flang-commits] [flang] [flang][OpenMP] Simplify handling of UserReductionDetails a bit (PR #159944)
via flang-commits
flang-commits at lists.llvm.org
Sat Sep 20 14:09:58 PDT 2025
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 -- flang/include/flang/Semantics/symbol.h flang/lib/Parser/unparse.cpp flang/lib/Semantics/mod-file.cpp flang/lib/Semantics/resolve-names.cpp
``````````
: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/Parser/unparse.cpp b/flang/lib/Parser/unparse.cpp
index 2db60c9a7..b06a8c1fa 100644
--- a/flang/lib/Parser/unparse.cpp
+++ b/flang/lib/Parser/unparse.cpp
@@ -3082,8 +3082,7 @@ template void Unparse<Expr>(llvm::raw_ostream &, const Expr &,
const common::LangOptions &, Encoding, bool, bool, preStatementType *,
AnalyzedObjectsAsFortran *);
-template void Unparse<parser::OpenMPDeclarativeConstruct>(
- llvm::raw_ostream &, const parser::OpenMPDeclarativeConstruct &,
- const common::LangOptions &, Encoding, bool, bool, preStatementType *,
- AnalyzedObjectsAsFortran *);
+template void Unparse<parser::OpenMPDeclarativeConstruct>(llvm::raw_ostream &,
+ const parser::OpenMPDeclarativeConstruct &, const common::LangOptions &,
+ Encoding, bool, bool, preStatementType *, AnalyzedObjectsAsFortran *);
} // namespace Fortran::parser
``````````
</details>
https://github.com/llvm/llvm-project/pull/159944
More information about the flang-commits
mailing list