[all-commits] [llvm/llvm-project] e8f198: Fix pack deduction to only deduce the arity of pac...
Richard Smith via All-commits
all-commits at lists.llvm.org
Wed Jan 15 16:21:16 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e8f198dd9e9dabed8d50276465906e7c8827cada
https://github.com/llvm/llvm-project/commit/e8f198dd9e9dabed8d50276465906e7c8827cada
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2020-01-15 (Wed, 15 Jan 2020)
Changed paths:
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/test/SemaTemplate/deduction.cpp
Log Message:
-----------
Fix pack deduction to only deduce the arity of packs that are actually
expanded by the deduced pack.
We recently started also deducing the arity of separately-expanded packs
that are merely mentioned within the pack in question, which is
incorrect.
More information about the All-commits
mailing list