[clang] [CIR] Upstream binary assignments and comma (PR #135115)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 10 13:11:05 PDT 2025
================
@@ -572,6 +575,11 @@ class CIRGenFunction : public CIRGenTypeCache {
mlir::LogicalResult emitWhileStmt(const clang::WhileStmt &s);
+ /// Given an assignment `*lhs = rhs`, emit a test that checks if \p rhs is
+ /// nonnull, if 1\p LHS is marked _Nonnull.
+ void emitNullabilityCheck(LValue lhs, mlir::Value rhs,
----------------
andykaylor wrote:
This is out of order alphabetically. A few other things are, so we need to do a cleanup pass anyway.
https://github.com/llvm/llvm-project/pull/135115
More information about the cfe-commits
mailing list