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
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
