mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Whenever we want to forward to a +1 value but don't need to destroy the original memory, use isPlusOneOrTrivial. This follows the existing naming scheme. Fixes rdar://108001491 (SIL verification failed: Found mutating or consuming use of an in_guaranteed parameter?!: !ImmutableAddressUseVerifier().isMutatingOrConsuming(fArg))
5.8 KiB
5.8 KiB