[flang-commits] [flang] [flang][OpenMP] Leave local automatic variables alone (PR #178739)
Leandro Lupori via flang-commits
flang-commits at lists.llvm.org
Tue Feb 3 15:50:13 PST 2026
================
@@ -409,6 +409,29 @@ class OmpAttributeVisitor : DirectiveAttributeVisitor<llvm::omp::Directive> {
explicit OmpAttributeVisitor(SemanticsContext &context)
: DirectiveAttributeVisitor(context) {}
+ static bool HasStaticStorageDuration(const Symbol &symbol) {
----------------
luporl wrote:
nit: this might be a matter of preference, but is there any particular reason for using static member functions instead of static functions?
https://github.com/llvm/llvm-project/pull/178739
More information about the flang-commits
mailing list