mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
InstModCallback is a value type and as such the original callback struct is not being modified. Instead, a new InstModCallback struct is returned that is the old callback + assignment of the passed in callback to the appropriate field. Thus it makes sense to put this attribute on these methods so that we get a warning if one does not use the new returned callback (otherwise, why would one call this method?!). More likely a bug.
34 KiB
34 KiB