Skip to content

Commit fc8907e

Browse files
kazutakahiratagithub-actions[bot]
authored andcommitted
Automerge: [AST] Call hash_combine_range with a range (NFC) (#136525)
2 parents ac21e5d + 02b55d2 commit fc8907e

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)