================
@@ -10623,7 +10623,7 @@ def err_second_argument_to_cwsc_not_pointer : Error<
"second argument to __builtin_call_with_static_chain must be of pointer
type">;
def err_vector_incorrect_num_elements : Error<
- "%select{too many|too few}0 elements in vector
%select{initialization|operand}3 (expected %1 elements, have %2)">;
+ "%select{too many|too few|incorrect number of}0 elements in vector
%select{initialization|operand}3 (expected %1 elements, have %2)">;
----------------
Icohedron wrote:
@inbelic
[suggested](https://github.com/llvm/llvm-project/pull/125319#discussion_r1941619629)
using `diag::err_vec_builtin_non_vector` instead.
It has the message "%select{first two|all}1 arguments to %0 must be vectors"
https://github.com/llvm/llvm-project/pull/125319
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits