On Wed, Nov 11, 2015 at 01:42:04PM +0100, Bernd Schmidt wrote: > On 11/11/2015 01:31 PM, Marek Polacek wrote: > > >Certainly I'm in favor of sharing code between C and C++ FEs, though in > >this case it didn't seem too important/obvious, because of the extra != > >error_mark_node check + I don't really like the new function getting *type > >and setting it there. > > Make it return bool to indicate whether to change type to error_mark.
Yeah, I've done it like so. Marek