[clang] [llvm] [OpenMP] Add arg extensions. (PR #232938)

Jonas Paulsson via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 18 16:26:28 PDT 2026


================
@@ -960,6 +960,10 @@ __OMP_RTL_ATTRS(__kmpc_omp_task_with_deps, DefaultAttrs, SExt,
 __OMP_RTL_ATTRS(__kmpc_taskloop, DefaultAttrs, AttributeSet(),
                 ParamAttrs(ReadOnlyPtrAttrs, SExt, AttributeSet(), SExt,
                            ArgPtrAttrs, ArgPtrAttrs, AttributeSet(), SExt, SExt))
+__OMP_RTL_ATTRS(__kmpc_taskloop_5, DefaultAttrs, AttributeSet(),
+                ParamAttrs(ReadOnlyPtrAttrs, SExt, AttributeSet(), SExt,
----------------
JonPsson1 wrote:

This is because the last argument is a void pointer which do not require any attribute. Omitting trailing un-attributed parameters are done in multiple other places in this file.


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


More information about the cfe-commits mailing list