From fd8f9c62b6da60de2f70243c4581d2f335dd1a58 Mon Sep 17 00:00:00 2001 From: akshaykumars614 Date: Tue, 4 Jun 2024 19:06:40 -0400 Subject: [PATCH] llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h: 2 * pointless copy (#94385) modified parameters for code quality --- llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h b/llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h index e92ec4855b252..453b38e0c11e3 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h +++ b/llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h @@ -212,8 +212,8 @@ template <> struct DenseMapInfo { return *reinterpret_cast(Val.Hash.data()); } - static bool isEqual(codeview::GloballyHashedType LHS, - codeview::GloballyHashedType RHS) { + static bool isEqual(const codeview::GloballyHashedType &LHS, + const codeview::GloballyHashedType &RHS) { return LHS == RHS; } };