[clang] [libcxx] [Clang] Diagnose forming references to nullptr (PR #143667)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 10 05:49:05 PDT 2025
================
@@ -1571,6 +1572,7 @@ static bool isValidIndeterminateAccess(AccessKinds AK) {
return false;
case AK_IsWithinLifetime:
+ case AK_Dereference:
----------------
cor3ntin wrote:
I don't think we can ever get there, but I changed it to return false
https://github.com/llvm/llvm-project/pull/143667
More information about the cfe-commits
mailing list