[llvm-branch-commits] [flang] [flang] Plugin directives for the loop that follows them (PR #228758)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Oct 3 12:37:13 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 cpp,h -- flang/examples/DirectivesPlugin/DirectivesPlugin.cpp flang/include/flang/Parser/parse-tree.h flang/include/flang/Support/PluginDirectives.h flang/lib/Lower/Bridge.cpp flang/lib/Parser/Fortran-parsers.cpp flang/lib/Parser/unparse.cpp flang/lib/Semantics/canonicalize-directives.cpp flang/lib/Semantics/mod-file.cpp flang/lib/Semantics/resolve-names.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/Bridge.cpp b/flang/lib/Lower/Bridge.cpp
index a9ae93b5f..a6752b27a 100644
--- a/flang/lib/Lower/Bridge.cpp
+++ b/flang/lib/Lower/Bridge.cpp
@@ -719,7 +719,7 @@ public:
return nullptr;
}
mlir::ModuleOp module{getModuleOp()};
- if (mlir::Operation *op{module.lookupSymbol(mangleName(sym))}) {
+ if (mlir::Operation * op{module.lookupSymbol(mangleName(sym))}) {
return op;
}
if (Fortran::semantics::IsProcedure(sym)) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/228758
More information about the llvm-branch-commits
mailing list