projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6a7b47
)
[ADT] Remove redundant typename (NFC)
author
Kazu Hirata
<kazu@google.com>
Sun, 23 Oct 2022 07:43:17 +0000
(
00:43
-0700)
committer
Kazu Hirata
<kazu@google.com>
Sun, 23 Oct 2022 07:43:17 +0000
(
00:43
-0700)
llvm/include/llvm/ADT/STLExtras.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/ADT/STLExtras.h
b/llvm/include/llvm/ADT/STLExtras.h
index
5fa5c0b
..
2c242b3
100644
(file)
--- a/
llvm/include/llvm/ADT/STLExtras.h
+++ b/
llvm/include/llvm/ADT/STLExtras.h
@@
-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