summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCObjectFileInfo.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-06-07 02:42:27 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-06-07 02:42:27 +0000
commite6d4b773dea2b1944e544511d957b17b78fa05a9 (patch)
tree9633f887aa7c552ae55100ae309144059c1ea67e /llvm/lib/MC/MCObjectFileInfo.cpp
parentd57c58d75d22a9c7b5922f5d4f7e57d153d67c6a (diff)
downloadbcm5719-llvm-e6d4b773dea2b1944e544511d957b17b78fa05a9.tar.gz
bcm5719-llvm-e6d4b773dea2b1944e544511d957b17b78fa05a9.zip
Fix a couple of class template argument deduction crashes with libc++'s tuple.
RecursiveASTVisitor was not properly recursing through a SubstTemplateTypeParmTypes, resulting in crashes in pack expansion where we couldn't always find an unexpanded pack within a pack expansion. We also have an issue where substitution of deduced template arguments for an implicit deduction guide creates the "impossible" case of naming a non-dependent member of the current instantiation, but within a specialization that is actually instantiated from a different (partial/explicit) specialization of the template. We resolve this by declaring that constructors that do so can only be used to deduce specializations of the primary template. I'm running this past CWG to see if people agree this is the right thing to do. llvm-svn: 304862
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud