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

Kiran Chandramohan via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 12 15:31:08 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);
----------------
kiranchandramohan wrote:

Can you add a debug-dump-symbols test?

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


More information about the llvm-commits mailing list