================
@@ -6603,7 +6603,7 @@ ExprResult Sema::BuiltinShuffleVector(CallExpr *TheCall) {
 
       if (RHSVecType->getNumElements() != NumElements)
         return ExprError(Diag(TheCall->getBeginLoc(),
-                              diag::err_vec_builtin_incompatible_vector)
+                              diag::err_shufflevector_incompatible_vector)
----------------
jhuber6 wrote:

Yeah, we lose the name but I'm thinking that the diagnostic should point to the 
arguments and function in question. Honestly I kind of wish a lot of these 
error kinds were made more generic, a lot of them could be merged. Maybe a 
cleanup for another day.

https://github.com/llvm/llvm-project/pull/223768
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to