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

Jose Manuel Monsalve Diaz via Openmp-commits openmp-commits at lists.llvm.org
Tue Nov 7 06:47:45 PST 2023

@@ -937,10 +937,13 @@ PRAGMA_ANNOTATION(pragma_opencl_extension)
 // distinguish between a real pragma and a converted pragma. It is not marked
 // as a PRAGMA_ANNOTATION because it doesn't get generated from a #pragma.
 // The lexer produces these so that they only take effect when the parser
 // handles #pragma omp ... directives.
+// For support of OpenMP extensions. These tokens handle #pragma ompx ... directives
josemonsalve2 wrote:

I implemented this part, but I couldn't find a way to reuse the tokens and maintain independence. We need to differentiate if it is an extension or not. What do you suggest we do to reuse a token and check if it is `omp` or `ompx`? 


More information about the Openmp-commits mailing list