manojgupta added a comment.

In https://reviews.llvm.org/D47894#1125406, @efriedma wrote:

> Does IR generation need any special handling for this?  We add nonnull 
> attributes in various places.


My interpretation is adding nonnull attributes is fine as long is it is not 
derived from a pointer dereference. 
E.g. addresses from alloca can be treated non-null.


Repository:
  rC Clang

https://reviews.llvm.org/D47894



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

Reply via email to