[C,C++] integer constants in attribute arguments
Jason Merrill
jason@redhat.com
Mon Feb 3 16:58:00 GMT 2014
On 01/18/2014 05:33 PM, Marc Glisse wrote:
> So when we have: __attribute__((nonnull(bar,bar)))
> the parser will keep bar as an identifier for the first argument, but
> parse the second one as an expr-list and thus find the associated
> function_decl.
OK, that makes sense. But why do we need to handle that specially?
Isn't that an invalid argument whether or not it decays to a pointer?
Jason
More information about the Gcc-patches
mailing list