Skip to content

Commit 6274442

Browse files
[clangd] Call hash_combine_range with a range (NFC) (#136526)
1 parent 02b55d2 commit 6274442

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang-tools-extra/clangd/SystemIncludeExtractor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,7 @@ template <> struct DenseMapInfo<DriverArgs> {
239239
Val.Stdlib,
240240
});
241241

242-
unsigned SpecsHash =
243-
llvm::hash_combine_range(Val.Specs.begin(), Val.Specs.end());
242+
unsigned SpecsHash = llvm::hash_combine_range(Val.Specs);
244243

245244
return llvm::hash_combine(FixedFieldsHash, SpecsHash);
246245
}

0 commit comments

Comments
 (0)