| commit | 0693defea9521e6bb0be6bf51fb2f14de7473197 | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <dgregor@apple.com> | Thu Jan 27 01:40:17 2011 +0000 |
| committer | Douglas Gregor <dgregor@apple.com> | Thu Jan 27 01:40:17 2011 +0000 |
| tree | 5f752c96cfa15731b6f40396f5acb209beb73f9e | |
| parent | dff0be70ba808e68562d9150e02d74179cbb7b26 [diff] |
When we run into a template parameter that should have a default argument but doesn't (because previous template parameters had default arguments), clear out all of the default arguments so that we maintain the invariant that a template parameter has a default argument only if subsequence template parameters also have default arguments. Fixes a crash-on-invalid <rdar://problem/8913649>. llvm-svn: 124345