diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-09-11 18:44:32 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-09-11 18:44:32 +0000 |
commit | 6cc1518b9f15ca846b8c35518eeae9557935678d (patch) | |
tree | 17a319a0d70cd71522fc9fb1e08d12491757b8a4 /lib/Analysis/BugReporterVisitors.cpp | |
parent | 4111181534e8257f592b6b7db57694af7cd04b06 (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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81548 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BugReporterVisitors.cpp')
0 files changed, 0 insertions, 0 deletions