================
@@ -9272,6 +9272,8 @@ def err_typecheck_expect_scalar_or_vector : Error<
   "a vector of such type is required">;
 def err_typecheck_expect_any_scalar_or_vector : Error<
   "invalid operand of type %0 where a scalar or vector is required">;
+def err_typecheck_expect_scalar_or_vector_not_type : Error<
----------------
llvm-beanz wrote:

Right, but we can combine them and use `%select` to cater to the specific 
message. Combining similar diagnostics helps keep Clang binary size from 
growing too much as the constant strings all need to get stored somewhere.

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

Reply via email to