[C++ Patch] Fix __is_base_of vs incomplete types

Jason Merrill jason@redhat.com
Thu Jan 2 21:46:00 GMT 2014


On 12/27/2013 07:02 AM, Paolo Carlini wrote:
> the same arguments. Conservatively but still more neatly than my first
> try, we could maybe use same_type_ignoring_top_level_qualifiers_p in the
> definition of the DERIVED_FROM_P macro?

Sure, let's do that.  And add something about incomplete types to the 
pre-function comment for lookup_base.

Jason




More information about the Gcc-patches mailing list