[flang-commits] [flang] [Flang][OpenMP] Fix issue with named constants in SHARED and FIRSTPRIVATE clauses (PR #154335)
Krzysztof Parzyszek via flang-commits
flang-commits at lists.llvm.org
Tue Aug 19 07:59:12 PDT 2025
================
@@ -65,6 +65,7 @@ std::optional<parser::CharBlock> GetObjectSource(
bool IsCommonBlock(const Symbol &sym);
bool IsExtendedListItem(const Symbol &sym);
bool IsVariableListItem(const Symbol &sym);
+bool IsNamedConstantListItem(const Symbol &sym);
----------------
kparzysz wrote:
Yeah, we need to improve the handling (verification) of "list items" passed to clauses/directives...
To clarify: I'm suggesting that you remove the "ListItem" suffix from the helper function you added, the rest LGTM.
https://github.com/llvm/llvm-project/pull/154335
More information about the flang-commits
mailing list