https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111281

--- Comment #3 from Frank Heckenbach <f.heckenb...@fh-soft.de> ---
Thanks for the additional info. I still think it would be useful if the message
told me that, rather than you. ;)

- 'nonnull' is a GCC attribute, and quoting it makes it look like it refers to
that, rather than to being a reference. If you can't easily track the
provenance, a wording like "non-null argument (reference or 'nonnull'
attribute)" might be better.

- 'NULL' is a macro (and very much a deprecated one since we have nullptr), and
both that and the comparison are generated by the compiler and not part of the
code, so a wording like "compared to nullptr or converted to bool" might be
better.

Reply via email to