mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Although the type is unsafe, the count is marked `@safe`, and this use of `unsafe` results in a warning (regardless of whether strict memory safety is enabled or not). Keep emitting `unsafe` when the pointer buffer is wrapped in Optional for now however, because that is currently flagged as unsafe. rdar://162416566