[llvm-branch-commits] [flang] [flang][OpenMP] Parsing context selectors for METADIRECTIVE (PR #121815)

Kiran Chandramohan via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jan 9 06:51:33 PST 2025


================
@@ -3453,6 +3453,17 @@ WRAPPER_CLASS(PauseStmt, std::optional<StopCode>);
 
 // --- Common definitions
 
+struct OmpClause;
+struct OmpClauseList;
+
+struct OmpDirectiveSpecification {
+  TUPLE_CLASS_BOILERPLATE(OmpDirectiveSpecification);
+  std::tuple<llvm::omp::Directive,
+      std::optional<common::Indirection<OmpClauseList>>>
+      t;
+  CharBlock source;
+};
----------------
kiranchandramohan wrote:

This needs a comment. Is this strictly part of context-selectors?

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


More information about the llvm-branch-commits mailing list