================ @@ -5813,6 +5813,24 @@ static TypoCorrection TryTypoCorrectionForCall(Sema &S, Expr *Fn, return TypoCorrection(); } +static bool isParenthetizedAndQualifiedAddressOfExpr(Expr *Fn) { + if (!isa<ParenExpr>(Fn)) + return false; + + Fn = Fn->IgnoreParens(); + auto *UO = dyn_cast<UnaryOperator>(Fn); + if (!UO) + return false; + assert(cast<UnaryOperator>(Fn)->getOpcode() == UO_AddrOf); ---------------- cor3ntin wrote:
Yes (and some tests were crashing) https://github.com/llvm/llvm-project/pull/93430 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits