[PATCH] To fix an assertion crash within a member template of a non-template class in ms-compatibility & delayed template parsing
richard at metafoo.co.uk
Wed Apr 24 04:57:17 PDT 2013
E->isTypeDependent() will always be true for a CXXDependentScopeMemberExpr,
so the patch would just turn off the optimization in MicrosoftMode. I think
the right thing to check here is that we have a QualifierLoc.
On Wed, Apr 24, 2013 at 4:29 AM, Faisal Vali <faisalv at gmail.com> wrote:
> Hi Richard,
> was working on the TemplateParameterDepth patch and while crafting
> some tests, I stumbled upon an assertion violation out of CodeGen for the
> following code compiled with -fms-compatibility and
> Once again, this might be a very narrow fix, and there might be a more
> general way to address this issue - so welcome the feedback.
> Faisal Vali
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits