ahatanak added inline comments.
================
Comment at: clang/lib/CodeGen/Address.h:146
+    return Address(NewPointer, getElementType(), getAlignment(),
+                   isKnownNonNull());
   }
----------------
This isn't safe. We cannot tell whether the new pointer is non-null or not 
based on whether it's currently non-null.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142584/new/

https://reviews.llvm.org/D142584

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to