[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:25:19 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:
Moreover, the OpenMP 6.0 spec says that a named constant is a variable-list-item, so perhaps we should add this check there.
https://github.com/llvm/llvm-project/pull/154335
More information about the flang-commits
mailing list