[flang-commits] [flang] [flang] Support kind/index lookup inside of EQUIVALENCE (PR #170056)
via flang-commits
flang-commits at lists.llvm.org
Tue Dec 2 12:46:17 PST 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 h,cpp -- flang/lib/Semantics/resolve-names-utils.h 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/Semantics/resolve-names-utils.h b/flang/lib/Semantics/resolve-names-utils.h
index 86c9c8615..3ff214047 100644
--- a/flang/lib/Semantics/resolve-names-utils.h
+++ b/flang/lib/Semantics/resolve-names-utils.h
@@ -119,7 +119,8 @@ private:
bool CheckDesignator(const parser::Designator &);
bool CheckDataRef(const parser::CharBlock &, const parser::DataRef &);
bool CheckObject(const parser::Name &);
- bool CheckSectionSubscript(const parser::CharBlock &, const parser::SectionSubscript &);
+ bool CheckSectionSubscript(
+ const parser::CharBlock &, const parser::SectionSubscript &);
bool CheckArrayBound(const parser::Expr &);
bool CheckSubstringBound(const parser::Expr &, bool);
bool IsCharacterSequenceType(const DeclTypeSpec *);
``````````
</details>
https://github.com/llvm/llvm-project/pull/170056
More information about the flang-commits
mailing list