On Sep 6, 2012, at 16:03 , Ted Kremenek <[email protected]> wrote: > + if (D->getAttr<CFReturnsNotRetainedAttr>()) > + os << "that is annotated as CF_RETURNS_NOT_RETAINED"; > + else if (D->getAttr<NSReturnsNotRetainedAttr>()) > + os << "that is annotated as NS_RETURNS_NOT_RETAINED";
Not everyone has these macros defined. Maybe we don't care, but on our site we currently document the attribute forms and don't mention at all that (Core)Foundation includes macros for them. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
