[PATCH] D51189: [Sema][ObjC] Infer availability of +new from availability of -init
Alex Lorenz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 23 16:33:59 PDT 2018
arphaman added a comment.
Hmm, I don't think this solution is ideal, we'd rather have an attribute somewhere for other consumers of availability annotations. Does MyObject have an implicit decl of `new`, or are we referring to `NSObject`s `new`? Ideally we would an attribute on a particular `new` instead, but that might not work.
Repository:
rC Clang
https://reviews.llvm.org/D51189
More information about the cfe-commits
mailing list