| commit | 86bc21ffcf1d4875818c9631bbd95152780655a9 | [log] [tgz] |
|---|---|---|
| author | John McCall <rjmccall@apple.com> | Wed Mar 02 11:33:24 2011 +0000 |
| committer | John McCall <rjmccall@apple.com> | Wed Mar 02 11:33:24 2011 +0000 |
| tree | 653b91895f1dd460220d1ea90e5f4d02f530450f | |
| parent | 7ed32cc51bc0643527da9a85ee17c29c746919ff [diff] |
Provide an attribute, objc_method_family, to allow the inferred family of an Objective-C method to be overridden on a case-by-case basis. This is a higher-level tool than ns_returns_retained &c.; it lets users specify that not only does a method have different retain/release semantics, but that it semantically acts differently than one might assume from its name. This in turn is quite useful to static analysis. llvm-svn: 126839