This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79961] Should diagnose when '__nonnull__' attribute is applied to implicit this argument
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 08 Mar 2017 15:56:05 +0000
- Subject: [Bug c++/79961] Should diagnose when '__nonnull__' attribute is applied to implicit this argument
- Auto-submitted: auto-generated
- References: <bug-79961-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79961
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
IMHO it would be much, much better if the implicit 'this' wasn't counted and
nonnull(1) referred to 'arg' but maybe it's too late to change that.