ARCMigrate: Use hash_combine in the DenseMapInfo for EditEntry
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 4 Dec 2020 03:05:11 +0000 (19:05 -0800)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 8 Dec 2020 21:46:21 +0000 (13:46 -0800)
commitb85c6e5bcd1a9de941c318f9a5dc742818752a56
tree032cb010035f021ac9c6687e8c4cf45c9704dea8
parenteca13e995c6428e11f0d402641a74c9fe26f124c
ARCMigrate: Use hash_combine in the DenseMapInfo for EditEntry

Simplify the DenseMapInfo for `EditEntry` by migrating from
`FoldingSetNodeID` to `llvm::hash_combine`. Besides the cleanup, this
reduces the diff for a future patch which changes the type of one of the
fields.

There should be no real functionality change here, although I imagine
the hash value will churn since its a different hashing infrastructure.

Differential Revision: https://reviews.llvm.org/D92630
clang/lib/ARCMigrate/ObjCMT.cpp