================ @@ -170,7 +170,7 @@ mlir::Value CIRGenFunction::evaluateExprAsBool(const Expr *e) { SourceLocation loc = e->getExprLoc(); assert(!cir::MissingFeatures::pgoUse()); - if (const MemberPointerType *MPT = e->getType()->getAs<MemberPointerType>()) { + if (e->getType()->getAs<MemberPointerType>()) { ---------------- andykaylor wrote:
Eventually we'll need the return value here, but probably not for a while. This isn't implemented in the incubator either. https://github.com/llvm/llvm-project/pull/133134 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits