[flang-commits] [flang] [Flang][OMP]Add support for DECLARE MAPPER parsing and semantics (PR #115160)

Akash Banerjee via flang-commits flang-commits at lists.llvm.org
Wed Nov 6 06:31:11 PST 2024


================
@@ -1944,6 +1947,12 @@ bool OmpAttributeVisitor::Pre(const parser::OpenMPDeclareTargetConstruct &x) {
   return true;
 }
 
+bool OmpAttributeVisitor::Pre(const parser::OpenMPDeclareMapperConstruct &x) {
+  PushContext(x.source, llvm::omp::Directive::OMPD_declare_mapper);
+
----------------
TIFitis wrote:

Nit: Remove empty line.

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


More information about the flang-commits mailing list