Skip to content

Commit 94dea2a

Browse files
kazutakahirataIanWood1
authored andcommitted
[AST] Call hash_combine_range with a range (NFC) (llvm#136525)
1 parent 0ee6a3b commit 94dea2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/ItaniumCXXABI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ struct DenseMapInfo<DecompositionDeclName> {
110110
}
111111
static unsigned getHashValue(DecompositionDeclName Key) {
112112
assert(!isEqual(Key, getEmptyKey()) && !isEqual(Key, getTombstoneKey()));
113-
return llvm::hash_combine_range(Key.begin(), Key.end());
113+
return llvm::hash_combine_range(Key);
114114
}
115115
static bool isEqual(DecompositionDeclName LHS, DecompositionDeclName RHS) {
116116
if (std::optional<bool> Result =

0 commit comments

Comments
 (0)