| commit | 5054cb04673f883cf7f2f2432fc3d0000b69f6fe | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <dgregor@apple.com> | Tue Jul 07 03:58:22 2015 +0000 |
| committer | Douglas Gregor <dgregor@apple.com> | Tue Jul 07 03:58:22 2015 +0000 |
| tree | 385cd20f12a47455e8b28275ee1e974697d4fe68 | |
| parent | 9bda6cff20276f67c02d0d2814ef44c2d62ecd89 [diff] |
Warn when an Objective-C collection literal element is converted to an incompatible type. Objective-C collection literals produce unspecialized NSArray/NSDictionary objects that can then be implicitly converted to specialized versions of these types. In such cases, check that the elements in the collection are suitable for the specialized collection. Part of rdar://problem/6294649. llvm-svn: 241546