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

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 20 09:58:13 PDT 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.
 ANNOTATION(attr_openmp)
+ANNOTATION(attr_openmp_extension)
 // The lexer produces these so that they only take effect when the parser
 // handles #pragma omp ... directives.
 PRAGMA_ANNOTATION(pragma_openmp)
 PRAGMA_ANNOTATION(pragma_openmp_end)
+// For support of OpenMP extensions. These tokens handle #pragma ompx ... directives
+PRAGMA_ANNOTATION(pragma_openmp_extension)
----------------
alexey-bataev wrote:

Try to reuse the existing tokens

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


More information about the cfe-commits mailing list