commit | c494f77363f057dd8619fec4e885c4f80e3d1b66 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Sat Mar 05 17:54:25 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Sat Mar 05 17:54:25 2011 +0000 |
tree | 736d86e0a70ccbfb484e91acd230c096955acd20 | |
parent | 0b4bcb639a9aab9c466a9e6d6e61b3bd1bb36d68 [diff] |
When determining template instantiation arguments within a function template (not a specialization!), use the "injected" function template arguments, which correspond to the template parameters of the function template. This is required when substituting into the default template parameters of template template parameters within a function template. Fixes PR9016. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127092 91177308-0d34-0410-b5e6-96231b3b80d8