commit | 78dae24600a877f52dbb6e58bfd5778754a00974 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Tue Mar 13 00:37:01 2012 +0000 |
committer | John McCall <rjmccall@apple.com> | Tue Mar 13 00:37:01 2012 +0000 |
tree | c04e7d5b386b2fd083c0dff74a2d34517e444680 | |
parent | 8ce6d214aef65ea1421eb11e84980dfa4da429b8 [diff] |
Alternate fix to PR12248: put Sema in charge of special-casing the diagnostic for assigning to a copied block capture. This has the pleasant side-effect of letting us special-case the diagnostic for assigning to a copied lambda capture as well, without introducing a new non-modifiable enumerator for it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152593 91177308-0d34-0410-b5e6-96231b3b80d8