]> granicus.if.org Git - clang/commit
Fix PR27601 by reverting [r267453] - Refactor traversal of bases in deduction of...
authorFaisal Vali <faisalv@yahoo.com>
Thu, 19 May 2016 02:28:21 +0000 (02:28 +0000)
committerFaisal Vali <faisalv@yahoo.com>
Thu, 19 May 2016 02:28:21 +0000 (02:28 +0000)
commit5fb68f064c4b5cae02946f3a86caafe1322b38bb
tree0c72d18f1349ba8e593104f65307a78eb542182f
parent8001fc86f4aac969d5f80e92b614ac1c595d7b51
Fix PR27601 by reverting [r267453] - Refactor traversal of bases in deduction of template parameters from base

This reversal is being done with r267453's author's (i.e. Richard Smith's) permission.

This fixes https://llvm.org/bugs/show_bug.cgi?id=27601

Also, per Richard's request the examples from the bug report have been added to our test suite.

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