]> granicus.if.org Git - clang/commit
Refactor traversal of bases in deduction of template parameters from base
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 25 Apr 2016 19:28:08 +0000 (19:28 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 25 Apr 2016 19:28:08 +0000 (19:28 +0000)
commita54dffea61bb27f9812f5cc537eb512e30654473
treee6140974a89800cba602767f5e6d83f7b7dce639
parent6c512830d2ff9f1d9fcf308312fdb3843f17ee59
Refactor traversal of bases in deduction of template parameters from base
classes of an argument to use CXXRecordDecl::forallBases. Fix forallBases to
only visit each base class once.

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