summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-10-12 20:35:48 +0000
committerDouglas Gregor <dgregor@apple.com>2011-10-12 20:35:48 +0000
commitebcfbb5d22ba5bbc902afc45fb267ea1884c3e4a (patch)
treee62a8b82d10b3377cb123783d32f3fd40fa07b2e /llvm/lib/Object/MachOObjectFile.cpp
parentca4e0fd7e63b90e6f68044af47248c64f250ee8f (diff)
downloadbcm5719-llvm-ebcfbb5d22ba5bbc902afc45fb267ea1884c3e4a.tar.gz
bcm5719-llvm-ebcfbb5d22ba5bbc902afc45fb267ea1884c3e4a.zip
When we determine that a function template specialization produced as
part of template argument deduction is ill-formed, we mark it as invalid and treat it as a deduction failure. If we happen to find that specialization again, treat it as a deduction failure rather than silently building a call to the declaration. Fixes PR11117, a marvelous bug where deduction failed after creating an invalid specialization, causing overload resolution to pick a different candidate. Then we performed a similar overload resolution later, and happily picked the invalid specialization to call... resulting in a silent link failure. llvm-svn: 141809
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud