[flang-commits] [flang] [Flang][OpenMP] DEFAULT(NONE) error checking on implicit references (PR #182214)

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Mon Mar 2 06:58:33 PST 2026


================
@@ -2795,7 +2795,8 @@ static bool IsTargetCaptureImplicitlyFirstprivatizeable(const Symbol &symbol,
       symbol.details());
 }
 
-void OmpAttributeVisitor::CreateImplicitSymbols(const Symbol *symbol) {
+void OmpAttributeVisitor::CreateImplicitSymbols(
+    const parser::Name &name, const Symbol *symbol) {
----------------
luporl wrote:

On second thought, I'm not entirely not sure that `symbol->name().source` will always be equivalent to `name` in this case, so I'm OK with the additional name parameter.

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


More information about the flang-commits mailing list