Would it be plausible to check this on templates directly, rather than on
their instantiations? This would be less work in the case of multiple
instantiations, avoid redundant diagnostics, fail on templates without
instantiations rather than creating a lurking failure, and we might even
get all the "dependent" tests for free - because we wouldn't be able to
look through the dependent types at all.

- David

On Wed, Feb 25, 2015 at 10:39 AM, jahanian <[email protected]> wrote:

>
> This patch restricts issuing -Winconsistent-missing-override when dealing
> with
> class template with dependent bases and dependent methods.
> Fixed pr22582 rdar://19917107.
> Please review.
>
> - Fariborz
>
>
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to