https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/225652
Fix the two buildbot failures from https://github.com/llvm/llvm-project/pull/225125 >From d80ee7b4865fcb134e297ee01ea52b99072a6364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= <[email protected]> Date: Wed, 23 Sep 2026 11:14:01 +0200 Subject: [PATCH] [clang][ExprConst] Mark two variables maybe_unused Fix the two buildbot failures from https://github.com/llvm/llvm-project/pull/225125 --- clang/lib/AST/ExprConstant.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp index bb7721df5a28b..2df754dc9007f 100644 --- a/clang/lib/AST/ExprConstant.cpp +++ b/clang/lib/AST/ExprConstant.cpp @@ -12244,8 +12244,8 @@ bool VectorExprEvaluator::VisitBinaryOperator(const BinaryOperator *E) { Expr *LHS = E->getLHS(); Expr *RHS = E->getRHS(); - QualType LHSType = LHS->getType().getAtomicUnqualifiedType(); - QualType RHSType = RHS->getType().getAtomicUnqualifiedType(); + [[maybe_unused]] QualType LHSType = LHS->getType().getAtomicUnqualifiedType(); + [[maybe_unused]] QualType RHSType = RHS->getType().getAtomicUnqualifiedType(); assert(LHSType->isVectorType() && RHSType->isVectorType() && "Must both be vector types"); // Checking JUST the types are the same would be fine, except shifts don't _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
