[clang] [OpenMP] Introduce support for OMPX extensions and taskgraph frontend (PR #66919)

via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 21 03:55:49 PDT 2023


================
@@ -2729,6 +2729,55 @@ class OMPTaskwaitDirective : public OMPExecutableDirective {
   }
 };
 
+/// This represents '#pragma ompx taskgraph' directive.
+/// Available with OMPX extensions.
+///
+/// \code
+/// #pragma ompx taskgraph
+/// \endcode
+///
+class OMPTaskgraphDirective : public OMPExecutableDirective {
----------------
Munesanz wrote:

Looks like others OMP directives declarations such as OMPTaskwaitDirective, OMPTaskDirective, etc do not have the "final" keyword. We wanted to keep consistency.
Do you still think it should be added? Thanks!

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


More information about the cfe-commits mailing list