diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-01-14 21:20:45 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-01-14 21:20:45 +0000 |
commit | 67fd1251aad51bb80d050b7fa5e506fef0ec8e02 (patch) | |
tree | 81040f6a18824db5f621b6488343e4216e7c2d16 /lib/Sema/SemaTemplateDeduction.cpp | |
parent | 3efd52cf8f4e57c5571bd8cc3168264c3bc46a1e (diff) |
Teach PackExpansionExpr to keep track of the number of pack expansions
it will expand to, if known. Propagate this information throughout Sema.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplateDeduction.cpp')
-rw-r--r-- | lib/Sema/SemaTemplateDeduction.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Sema/SemaTemplateDeduction.cpp b/lib/Sema/SemaTemplateDeduction.cpp index c03a778a65..fddd14e28b 100644 --- a/lib/Sema/SemaTemplateDeduction.cpp +++ b/lib/Sema/SemaTemplateDeduction.cpp @@ -1463,9 +1463,6 @@ DeduceTemplateArguments(Sema &S, unsigned ArgIdx = 0, ParamIdx = 0; for (; hasTemplateArgumentForDeduction(Params, ParamIdx, NumParams); ++ParamIdx) { - // FIXME: Variadic templates. - // What do we do if the argument is a pack expansion? - if (!Params[ParamIdx].isPackExpansion()) { // The simple case: deduce template arguments by matching Pi and Ai. |