================
@@ -33,7 +33,7 @@ program main
   enddo
   !$omp end target parallel
 
-  !ERROR: The DEFAULTMAP clause requires a variable-category SCALAR in OpenMP 
v1.1, try -fopenmp-version=50
+  !ERROR: A variable-category modifier is required
----------------
kparzysz wrote:

They can be improved.  Right now `OmpVerifyModifiers` checks all properties, 
and returns a single value: "everything passed" or "something is wrong".  Based 
on the descriptor information, it could generate the "try different version" if 
applicable, plus it could return a more detailed information about what failed 
to the caller.

On the positive side, with the new functions, the actual modifier is 
highlighted (except if it's required but missing).

If you're ok with that, I can improve this in a subsequent PR.

https://github.com/llvm/llvm-project/pull/116658
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to