Alejandro =?utf-8?q?Álvarez_Ayllón?=, Alejandro =?utf-8?q?Álvarez_Ayllón?=, Alejandro =?utf-8?q?Álvarez_Ayllón?Message-ID: In-Reply-To: <llvm.org/llvm/llvm-project/pull/119...@github.com>
================ @@ -15919,10 +15919,17 @@ ExprResult Sema::ActOnStmtExprResult(ExprResult ER) { if (Cast && Cast->getCastKind() == CK_ARCConsumeObject) return Cast->getSubExpr(); + auto Ty = E->getType().getUnqualifiedType(); ---------------- AaronBallman wrote: > Right, with the tweak that the audit always switches away from > getUnqualifiedType(): each call either becomes getAtomicUnqualifiedType() (I > forgot that this already exists) or getUnqualifiedTypePreservingAtomic(), and > then the audit is done when there are no remaining calls to > getUnqualifiedType(). At that point, we decide if having a > getUnqualifiedType() is a good idea or if we should just force all callers to > explicitly choose. Okay, this is a plan I can get behind -- thank you for the good discussion! https://github.com/llvm/llvm-project/pull/119711 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits