commit | c732aba9a98c1092d435a31014f8bd1d63a8a95d | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Sep 11 18:44:32 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Sep 11 18:44:32 2009 +0000 |
tree | 816baee27491944c469233ebbe256ef5b312dff2 | |
parent | f544a534cf03dde5d34c3bb719b7612e1a2dd847 [diff] |
Cleanup and test C++ default arguments. Improvements include: - Diagnose attempts to add default arguments to templates (or member functions of templates) after the initial declaration (DR217). - Improve diagnostics when a default argument is redefined. Now, the note will always point at the place where the default argument was previously defined, rather than pointing to the most recent declaration of the function. llvm-svn: 81548