[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:06:51 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:

You're right, it's not a "named parameter list item".  At the same time, a "named constant" is a Fortran standard term, and it's not a "list item".

https://github.com/llvm/llvm-project/pull/154335


More information about the flang-commits mailing list