[flang-commits] [flang] [flang][OpenMP] Fix typos in diagnostic messages, NFC (PR #154953)
via flang-commits
flang-commits at lists.llvm.org
Fri Aug 22 07:00:56 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 HEAD~1 HEAD --extensions cpp -- flang/lib/Semantics/check-omp-structure.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/lib/Semantics/check-omp-structure.cpp b/flang/lib/Semantics/check-omp-structure.cpp
index 5967a1846..4a5e0b412 100644
--- a/flang/lib/Semantics/check-omp-structure.cpp
+++ b/flang/lib/Semantics/check-omp-structure.cpp
@@ -1203,8 +1203,8 @@ void OmpStructureChecker::Enter(const parser::OpenMPGroupprivate &x) {
}
if (auto *obj{sym->detailsIf<ObjectEntityDetails>()}) {
if (obj->IsCoarray()) {
- context_.Say(arg.source,
- "GROUPPRIVATE argument cannot be a coarray"_err_en_US);
+ context_.Say(
+ arg.source, "GROUPPRIVATE argument cannot be a coarray"_err_en_US);
continue;
}
if (obj->init()) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/154953
More information about the flang-commits
mailing list