[flang-commits] [flang] [flang][OpenMP] Use OmpDirectiveSpecification in METADIRECTIVE (PR #159577)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Mon Sep 22 06:08:49 PDT 2025


================
@@ -1303,7 +1303,7 @@ OmpDirectiveSpecification static makeFlushFromOldSyntax(Verbatim &&text,
 
 TYPE_PARSER(sourced(
     // Parse the old syntax: FLUSH [clauses] [(objects)]
-    construct<OmpDirectiveSpecification>(
+    sourced(construct<OmpDirectiveSpecification>(
----------------
tblah wrote:

Isn't this already inside of a `sourced` parser?

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


More information about the flang-commits mailing list