[clang] [Clang] Diagnose forming references to nullptr (PR #143667)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 12 07:26:08 PDT 2025


================
@@ -4418,6 +4420,9 @@ static CompleteObject findCompleteObject(EvalInfo &Info, const Expr *E,
       return CompleteObject();
     }
 
+    // if(AK == clang::AK_ReferenceInitialization)
----------------
erichkeane wrote:

This is commented out?

https://github.com/llvm/llvm-project/pull/143667


More information about the cfe-commits mailing list