https://llvm.org/bugs/show_bug.cgi?id=24246

Richard Smith <richard-l...@metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |richard-l...@metafoo.co.uk
         Resolution|FIXED                       |---
           Assignee|ri...@google.com            |david.majne...@gmail.com

--- Comment #5 from Richard Smith <richard-l...@metafoo.co.uk> ---
We've fixed the symptoms but not the actual bug -- getAs<T>() on a valid type
should never assert. The problem is that we're producing a broken type for the
largest_type_select<false> specialization -- the canonical type of the template
specialization type is a record type, but desugaring the template
specialization type does not produce that record type (because it thinks that
it's not a sugar node).

We should back out r249090 (the typo correction code was correct prior to this
change) and fix the code that handles this MS extension to create a correct
type here.

David, can you take a look?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to