diff options
author | Kazu Hirata <kazu@google.com> | 2025-04-20 16:36:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-20 16:36:03 -0700 |
commit | b01e25debaf3fde3c76c9763e78e118a7da3d592 (patch) | |
tree | b1671d775c0953df9984a40a847c6d5800c121f1 /llvm/lib/IR/LLVMContextImpl.cpp | |
parent | f87109f018faad5f3f1bf8a4668754c24e84e886 (diff) | |
download | llvm-b01e25debaf3fde3c76c9763e78e118a7da3d592.zip llvm-b01e25debaf3fde3c76c9763e78e118a7da3d592.tar.gz llvm-b01e25debaf3fde3c76c9763e78e118a7da3d592.tar.bz2 |
[llvm] Call hash_combine_range with ranges (NFC) (#136511)
Diffstat (limited to 'llvm/lib/IR/LLVMContextImpl.cpp')
-rw-r--r-- | llvm/lib/IR/LLVMContextImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/LLVMContextImpl.cpp b/llvm/lib/IR/LLVMContextImpl.cpp index 5e51b3c..d8cdbf8 100644 --- a/llvm/lib/IR/LLVMContextImpl.cpp +++ b/llvm/lib/IR/LLVMContextImpl.cpp @@ -207,7 +207,7 @@ unsigned MDNodeOpsKey::calculateHash(MDNode *N, unsigned Offset) { } unsigned MDNodeOpsKey::calculateHash(ArrayRef<Metadata *> Ops) { - return hash_combine_range(Ops.begin(), Ops.end()); + return hash_combine_range(Ops); } StringMapEntry<uint32_t> *LLVMContextImpl::getOrInsertBundleTag(StringRef Tag) { |