================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits