This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ Patch] PR 20461, PR 20536


Mark Mitchell wrote:

I wouldn't check TYPE_BINFO here; it's an implementation detail. I think !COMPLETE_TYPE_P would be better. Also, please add a comment indicating that we will already have issued an error message by this point about the fact that the type is incomplete. (As otherwise we should call complete_type to instantiate templates.)

Thanks Mark for the reviews: indeed, yesterday I noticed in a patch from Dorit that we have COMPLETE_TYPE_P and seemed much more suited! I will also add the comment.


Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]