[ADT] Remove redundant typename (NFC)
authorKazu Hirata <kazu@google.com>
Sun, 23 Oct 2022 07:43:17 +0000 (00:43 -0700)
committerKazu Hirata <kazu@google.com>
Sun, 23 Oct 2022 07:43:17 +0000 (00:43 -0700)
llvm/include/llvm/ADT/STLExtras.h

index 5fa5c0b..2c242b3 100644 (file)
@@ -1295,8 +1295,7 @@ namespace detail {
 /// always be a reference, to avoid returning a reference to a temporary.
 template <typename EltTy, typename FirstTy> class first_or_second_type {
 public:
-  using type =
-      typename std::conditional_t<std::is_reference<EltTy>::value, FirstTy,
+  using type = std::conditional_t<std::is_reference<EltTy>::value, FirstTy,
                                   std::remove_reference_t<FirstTy>>;
 };
 } // end namespace detail