commit | ee5d21f63714459f39e0be28fec9dbecf0720505 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Feb 04 03:57:22 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Feb 04 03:57:22 2011 +0000 |
tree | 03158b5af58ce3e36c961ec82a7fdb2ddae7932f | |
parent | 398c610b16728b4398214367dd0effd9d2e61340 [diff] |
When a function template's template parameter has a default argument, it's okay for the following template parameters to not have default arguments (since those template parameters can still be deduced). Also, downgrade the error about default template arguments in function templates to an extension warning, since this is a harmless C++0x extension. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124855 91177308-0d34-0410-b5e6-96231b3b80d8