[clang] [llvm] [Clang][OpenMP] Support for dispatch construct (Sema & Codegen) support (PR #117904)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 13 11:09:26 PST 2024
================
@@ -11774,6 +11774,9 @@ def err_omp_clause_requires_dispatch_construct : Error<
"'%0' clause requires 'dispatch' context selector">;
def err_omp_append_args_with_varargs : Error<
"'append_args' is not allowed with varargs functions">;
+def warn_omp_dispatch_clause_novariants_nocontext : Warning<
+ "only 'novariants' clause is supported when 'novariants' & 'nocontext' clauses occur on the same dispatch construct">,
----------------
alexey-bataev wrote:
1.
```suggestion
"only 'novariants' clause is expected">,
```
or something like this.
2. No test for this warning
https://github.com/llvm/llvm-project/pull/117904
More information about the llvm-commits
mailing list