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:
c5ea9b8
)
Revert "[ADT] Remove redundaunt typename (NFC)"
author
Kazu Hirata
<kazu@google.com>
Sun, 30 Oct 2022 20:20:50 +0000
(13:20 -0700)
committer
Kazu Hirata
<kazu@google.com>
Sun, 30 Oct 2022 20:20:50 +0000
(13:20 -0700)
This reverts commit
95eaefd0df7564a380f71a6909a5bd6b3ad32ab2
.
I accidentally committed a patch to add a redundant typename.
llvm/include/llvm/Support/TypeSize.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Support/TypeSize.h
b/llvm/include/llvm/Support/TypeSize.h
index
3efcdc4
..
0777005
100644
(file)
--- a/
llvm/include/llvm/Support/TypeSize.h
+++ b/
llvm/include/llvm/Support/TypeSize.h
@@
-211,7
+211,7
@@
protected:
}
template <typename U = ScalarTy>
- friend
typename
std::enable_if_t<std::is_signed<U>::value, LeafTy>
+ friend std::enable_if_t<std::is_signed<U>::value, LeafTy>
operator-(const LeafTy &LHS) {
LeafTy Copy = LHS;
return Copy *= -1;