[clang] [Clang][Sema] Improve shuffle vector size mismatch diagnostic (PR #223768)

Amr Hesham via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 15 11:28:16 PDT 2026


================
@@ -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)
----------------
AmrDeveloper wrote:

Yes, I will use what you suggested first 👍🏻 

https://github.com/llvm/llvm-project/pull/223768


More information about the cfe-commits mailing list