[Openmp-commits] [openmp] [llvm] [clang] [OpenMP] Introduce support for OMPX extensions and taskgraph frontend (PR #66919)

Alexey Bataev via Openmp-commits openmp-commits at lists.llvm.org
Tue Nov 7 07:47:49 PST 2023


================
@@ -178,6 +178,18 @@ struct PragmaOpenMPHandler : public PragmaHandler {
                     Token &FirstToken) override;
 };
 
+struct PragmaNoOpenMPXHandler : public PragmaHandler {
+  PragmaNoOpenMPXHandler() : PragmaHandler("ompx") {}
+  void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
+                    Token &FirstToken) override;
+};
+
+struct PragmaOpenMPXHandler : public PragmaHandler {
+  PragmaOpenMPXHandler() : PragmaHandler("ompx") {}
+  void HandlePragma(Preprocessor &PP, PragmaIntroducer Introducer,
+                    Token &FirstToken) override;
+};
+
----------------
alexey-bataev wrote:

Why existing openmp handlers cannot be reused?

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


More information about the Openmp-commits mailing list