[clang] 169b43d - Remove unused variable introduced in #152705
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 18 02:45:20 PDT 2025
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);
More information about the cfe-commits
mailing list