From c6fa574f30542f65c6ee67d6e26ec65d6eea99a9 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 24 Oct 2022 00:14:56 -0700 Subject: [PATCH] [ADT] Remove redundant typename (NFC) --- llvm/include/llvm/ADT/TypeSwitch.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/include/llvm/ADT/TypeSwitch.h b/llvm/include/llvm/ADT/TypeSwitch.h index cc69f76..cf58808 100644 --- a/llvm/include/llvm/ADT/TypeSwitch.h +++ b/llvm/include/llvm/ADT/TypeSwitch.h @@ -72,8 +72,8 @@ protected: template static auto castValue( ValueT value, - typename std::enable_if_t< - is_detected::value> * = nullptr) { + std::enable_if_t::value> * = + nullptr) { return value.template dyn_cast(); } @@ -82,8 +82,8 @@ protected: template static auto castValue( ValueT value, - typename std::enable_if_t< - !is_detected::value> * = nullptr) { + std::enable_if_t::value> * = + nullptr) { return dyn_cast(value); } -- 2.7.4