From 5648446cdaaa808b00c1a975373031016049ad85 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sun, 5 Nov 2023 18:32:46 +0100 Subject: [PATCH] openmp: Mention C attribute syntax in documentation This patch mentions the C attribute syntax support in the libgomp documentation. 2023-11-05 Jakub Jelinek * libgomp.texi (Enabling OpenMP): Adjust wording for attribute syntax supported also in C. --- libgomp/libgomp.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi index 02f2d0e5767..b635f81750b 100644 --- a/libgomp/libgomp.texi +++ b/libgomp/libgomp.texi @@ -138,7 +138,7 @@ changed to GNU Offloading and Multi Processing Runtime Library. To activate the OpenMP extensions for C/C++ and Fortran, the compile-time flag @option{-fopenmp} must be specified. For C and C++, this enables -the handling of the OpenMP directives using @code{#pragma omp} and, for C++, the +the handling of the OpenMP directives using @code{#pragma omp} and the @code{[[omp::directive(...)]]}, @code{[[omp::sequence(...)]]} and @code{[[omp::decl(...)]]} attributes. For Fortran, it enables for free source form the @code{!$omp} sentinel for directives and the