[flang-commits] [flang] [flang][OpenMP] Fix copyprivate semantic checks (PR #95799)

via flang-commits flang-commits at lists.llvm.org
Fri Jul 19 06:25:22 PDT 2024


================
@@ -2540,20 +2554,58 @@ void ResolveOmpTopLevelParts(
   });
 }
 
-void OmpAttributeVisitor::CheckDataCopyingClause(
-    const parser::Name &name, const Symbol &symbol, Symbol::Flag ompFlag) {
-  const auto *checkSymbol{&symbol};
+static bool IsSymbolInCommonBlock(const Symbol &symbol) {
+  // If there are many symbols in common blocks, going through them all can be
----------------
NimishMishra wrote:

Would you like this to be a TODO, instead of a comment, depending on how impactful we expect this to be?

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


More information about the flang-commits mailing list