Author: Simon Pilgrim
Date: 2025-08-18T10:45:09+01:00
New Revision: 169b43d4b802a5effbaa715c203e4d0ba85d7b89

URL: 
https://github.com/llvm/llvm-project/commit/169b43d4b802a5effbaa715c203e4d0ba85d7b89
DIFF: 
https://github.com/llvm/llvm-project/commit/169b43d4b802a5effbaa715c203e4d0ba85d7b89.diff

LOG: Remove unused variable introduced in #152705

Added: 
    

Modified: 
    clang/lib/AST/ExprConstant.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp
index e933918c182cd..40c56501b0c14 100644
--- a/clang/lib/AST/ExprConstant.cpp
+++ b/clang/lib/AST/ExprConstant.cpp
@@ -11815,7 +11815,6 @@ bool VectorExprEvaluator::VisitCallExpr(const CallExpr 
*E) {
       return false;
 
     APSInt Mask = SourceMask.getInt();
-    QualType DestEltTy = E->getType()->castAs<VectorType>()->getElementType();
     unsigned SourceLen = SourceLHS.getVectorLength();
     SmallVector<APValue, 4> ResultElements;
     ResultElements.reserve(SourceLen);


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to