diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-01-27 01:40:17 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-01-27 01:40:17 +0000 |
commit | fd1a8fd240c8067e286e3881aac2bd8b700517d3 (patch) | |
tree | 9a8b0c12298b2913f285a28dae640dd4c5797f42 /lib/Analysis/UninitializedValuesV2.cpp | |
parent | 944aa60777e6ea1015c9423107f7925f6d91f4a0 (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>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124345 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/UninitializedValuesV2.cpp')
0 files changed, 0 insertions, 0 deletions