[all-commits] [llvm/llvm-project] b85c6e: ARCMigrate: Use hash_combine in the DenseMapInfo f...
Duncan P. N. Exon Smith via All-commits
all-commits at lists.llvm.org
Tue Dec 8 13:50:45 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b85c6e5bcd1a9de941c318f9a5dc742818752a56
https://github.com/llvm/llvm-project/commit/b85c6e5bcd1a9de941c318f9a5dc742818752a56
Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
Date: 2020-12-08 (Tue, 08 Dec 2020)
Changed paths:
M clang/lib/ARCMigrate/ObjCMT.cpp
Log Message:
-----------
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
More information about the All-commits
mailing list