Files
swift-mirror/include/swift/AST/Requirement.h
Hamish Knight ff61b24b36 Remove Type's hash_value function
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.
2020-06-15 17:44:50 -07:00

5.8 KiB