+ // Cut off the implicit 'this'. + if (isa<CXXMethodDecl>(FnDecl)) + ArgsArray = ArgsArray.slice(1);
What about static methods? On Wed, Jan 23, 2013 at 5:15 PM, Nick Lewycky <[email protected]> wrote: > GCC supports attribute nonnull on overloaded operators, but clang doesn't. > This patch adds support to the code path around binary operators, as I don't > think it's possible to make it fire on overloaded unary operators. > > Please review! > > Nick > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
