rsmith added a subscriber: rsmith.
rsmith added a comment.

Is this really a good idea? If I write:

  int *_Nullable f();
  int n;
  int *_Nonnull g() {
    auto *p = f();
    if (!p) p = &n;
    return p;
  }

... it would be wrong to produce a warning that I'm converting from a nullable 
pointer to a non-nullable pointer.


https://reviews.llvm.org/D22794



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

Reply via email to