From 24e3d93dad959eacf9a98c31456df3a477563389 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 4 Sep 2025 09:17:43 -0700 Subject: [PATCH] [ADT] Fix formatting in DenseMapInfo.h This is a follow-up for #156810. --- llvm/include/llvm/ADT/DenseMapInfo.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/include/llvm/ADT/DenseMapInfo.h b/llvm/include/llvm/ADT/DenseMapInfo.h index 717156c4bd196..b91a908d992f8 100644 --- a/llvm/include/llvm/ADT/DenseMapInfo.h +++ b/llvm/include/llvm/ADT/DenseMapInfo.h @@ -180,9 +180,9 @@ template struct DenseMapInfo> { } template static unsigned getHashValueImpl(const Tuple &values) { - if constexpr (I == sizeof...(Ts)) + if constexpr (I == sizeof...(Ts)) { return 0; - else { + } else { using EltType = std::tuple_element_t; return detail::combineHashValue( DenseMapInfo::getHashValue(std::get(values)), @@ -196,9 +196,9 @@ template struct DenseMapInfo> { template static bool isEqualImpl(const Tuple &lhs, const Tuple &rhs) { - if constexpr (I == sizeof...(Ts)) + if constexpr (I == sizeof...(Ts)) { return true; - else { + } else { using EltType = std::tuple_element_t; return DenseMapInfo::isEqual(std::get(lhs), std::get(rhs)) &&