diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-06-03 02:59:40 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-06-03 02:59:40 +0000 |
commit | 8735b294a257a07ca158c28094d7324f0adf889a (patch) | |
tree | 798fe5078ae1bc32890d61337105e2a5a5077211 /lib/Driver/ToolChains.cpp | |
parent | a72d8c4556fbdfca2c9e101722812861fcbdde12 (diff) |
When checking the instantiation of a default template argument against
the template parameter, perform the checking as a "specified" template
argument rather than a "deduced" template argument; the latter implies
stricter type checking that is not permitted for default template
arguments.
Also, cleanup our handling of substitution of explicit template
arguments for a function template. We were actually performing some
substitution of default arguments at this point!
Fixes PR10069.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains.cpp')
0 files changed, 0 insertions, 0 deletions