On 12/05/2011 02:00 AM, Fabien Chêne wrote:
2011/12/5 Jason Merrill<ja...@redhat.com>:
Is there a reason not to just do

  decl = strip_using_decl (decl);

early in finish_id_expression?

Not really, I've already tried it and it works. I wasn't sure it was
correct not to return a USING_DECL in aIl cases -- they are numerous
in this huge function. If you think it is more correct, I'm all for
it.

Since finish_id_expression often returns something that isn't a decl at all, I think stripping the using here makes sense.

Jason

Reply via email to