Skip to content

Commit f7587a9

Browse files
committed
Use hash code instead of unsigned for the hash return value.
1 parent ab3d5d0 commit f7587a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Support/FileSystem/UniqueID.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ template <> struct DenseMapInfo<llvm::sys::fs::UniqueID> {
6464
return {TombstoneKey.first, TombstoneKey.second};
6565
}
6666

67-
static unsigned getHashValue(const llvm::sys::fs::UniqueID &Tag) {
67+
static hash_code getHashValue(const llvm::sys::fs::UniqueID &Tag) {
6868
return hash_value(std::make_pair(Tag.getDevice(), Tag.getFile()));
6969
}
7070

0 commit comments

Comments
 (0)