llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) <details> <summary>Changes</summary> Fix the two buildbot failures from https://github.com/llvm/llvm-project/pull/225125 --- Full diff: https://github.com/llvm/llvm-project/pull/225652.diff 1 Files Affected: - (modified) clang/lib/AST/ExprConstant.cpp (+2-2) ``````````diff 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 `````````` </details> https://github.com/llvm/llvm-project/pull/225652 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
