mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Defining `hash_value` for `Type` makes it easy to forget that the underlying pointer is being hashed directly without canonicalization. Instead, define it only for `CanType`, and make `Type` users spell `getPointer` explicitly.
5.8 KiB
5.8 KiB