================
@@ -1506,8 +1506,10 @@ def err_omp_unexpected_directive : Error<
   "unexpected OpenMP directive %select{|'#pragma omp %1'}0">;
 def err_omp_expected_punc : Error<
   "expected ',' or ')' in '%0' %select{clause|directive}1">;
-def warn_clause_expected_string : Warning<
+def warn_clause_expected_string_literal : Warning<
   "expected string literal in 'clause %0' - ignoring">, 
InGroup<IgnoredPragmas>;
+def warn_clause_expected_string: Warning<
+  "expected string in 'clause %0' - ignoring">, InGroup<IgnoredPragmas>;
----------------
alexey-bataev wrote:

Keep a single message, but use `%select{}` to select the better message (see 
err_omp_expected_punc)

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

Reply via email to