]> granicus.if.org Git - clang/commit
Require a complete type before examining base classes during template argument
authorChandler Carruth <chandlerc@gmail.com>
Sun, 7 Feb 2010 21:33:28 +0000 (21:33 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 7 Feb 2010 21:33:28 +0000 (21:33 +0000)
commita7ef13024e4cc3dfb75e3bc1695371b39d9a5240
treeec5b9398833a85cfea9c68deea9a0f95844040b1
parent1851a12605bc6f1ea70d11974a315340ebaab6eb
Require a complete type before examining base classes during template argument
deduction. This requires refactoring the deduction to have access to the Sema
object instead of merely the ASTContext. Still leaves something to be desired
due to poor source location.

Fixes PR6257 and half of PR6259.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95528 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateDeduction.cpp
test/SemaTemplate/deduction.cpp