[flang-commits] [flang] [flang] NameUniquer helper for detecting module-scope data (PR #192733)
via flang-commits
flang-commits at lists.llvm.org
Mon Apr 20 08:29:00 PDT 2026
================
@@ -347,6 +347,29 @@ bool fir::NameUniquer::belongsToModule(llvm::StringRef uniquedName,
result.second.modules[0] == moduleName;
}
+/// Flang records the lexical module/submodule nesting of a symbol in the
----------------
nvptm wrote:
Good catch — for a saved local in a module procedure (_QMmFfooEx), this helper should return false since it is not module-scope data. https://github.com/llvm/llvm-project/pull/192999
https://github.com/llvm/llvm-project/pull/192733
More information about the flang-commits
mailing list