[flang-commits] [flang] [llvm] [Flang][OpenMP][Sema] Adding parsing and semantic support for scan directive. (PR #102792)

Anchu Rajendran S via flang-commits flang-commits at lists.llvm.org
Wed Nov 13 15:25:10 PST 2024


================
@@ -435,6 +436,18 @@ class OmpAttributeVisitor : DirectiveAttributeVisitor<llvm::omp::Directive> {
   void Post(const parser::OpenMPAllocatorsConstruct &);
 
   // 2.15.3 Data-Sharing Attribute Clauses
+  void ResolveNames(const parser::OmpObjectList &objList);
+
+  bool Pre(const parser::OmpClause::Inclusive &x) {
+    const auto &objectList{x.v};
+    ResolveNames(objectList);
----------------
anchuraj wrote:

I have added a new flag and dumped the symbols in a new test. 

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


More information about the flang-commits mailing list