================ @@ -1703,7 +1703,7 @@ namespace { bool checkNullPointerDiagnosingWith(const GenDiagType &GenDiag) { if (Designator.Invalid) return false; - if (IsNullPtr) { + if (getLValueBase().isNull()) { ---------------- tbaederr wrote:
Looks like the check here was `!Base` until 402804b6d67c880c97e575342189025fe28c0f81 https://github.com/llvm/llvm-project/pull/113885 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits