Skip to content

Commit 00c2eb2

Browse files
[ADT] Remove redundant typename (NFC)
1 parent f6a7b47 commit 00c2eb2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/include/llvm/ADT/STLExtras.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,8 +1295,7 @@ namespace detail {
12951295
/// always be a reference, to avoid returning a reference to a temporary.
12961296
template <typename EltTy, typename FirstTy> class first_or_second_type {
12971297
public:
1298-
using type =
1299-
typename std::conditional_t<std::is_reference<EltTy>::value, FirstTy,
1298+
using type = std::conditional_t<std::is_reference<EltTy>::value, FirstTy,
13001299
std::remove_reference_t<FirstTy>>;
13011300
};
13021301
} // end namespace detail

0 commit comments

Comments
 (0)