diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-11-18 19:49:19 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-11-18 19:49:19 +0000 |
commit | 678f50b622fec656bc57f0deb77166f2b11b918a (patch) | |
tree | 22205bbaec981d63a99adb99528535d419c05972 /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | 87f03971fdf9a1968a11e4ef989e9a827ae7528e (diff) | |
download | llvm-678f50b622fec656bc57f0deb77166f2b11b918a.zip llvm-678f50b622fec656bc57f0deb77166f2b11b918a.tar.gz llvm-678f50b622fec656bc57f0deb77166f2b11b918a.tar.bz2 |
[Sema] Don't work around a malformed AST
We created a malformed TemplateSpecializationType: it was dependent but
had a RecordType as it's canonical type. This would lead getAs to
crash. r249090 worked around this but we should fix this for real by
providing a more appropriate template specialization type as the
canonical type.
This fixes PR24246.
llvm-svn: 253495
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions