[llvm] 3772cb9 - Revert "[ADT] Remove redundaunt typename (NFC)"
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 30 13:20:55 PDT 2022
Author: Kazu Hirata
Date: 2022-10-30T13:20:50-07:00
New Revision: 3772cb9ce70be145219c37326c95c59915b4aaf5
URL: https://github.com/llvm/llvm-project/commit/3772cb9ce70be145219c37326c95c59915b4aaf5
DIFF: https://github.com/llvm/llvm-project/commit/3772cb9ce70be145219c37326c95c59915b4aaf5.diff
LOG: Revert "[ADT] Remove redundaunt typename (NFC)"
This reverts commit 95eaefd0df7564a380f71a6909a5bd6b3ad32ab2.
I accidentally committed a patch to add a redundant typename.
Added:
Modified:
llvm/include/llvm/Support/TypeSize.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/TypeSize.h b/llvm/include/llvm/Support/TypeSize.h
index 3efcdc486d36..0777005643a7 100644
--- a/llvm/include/llvm/Support/TypeSize.h
+++ b/llvm/include/llvm/Support/TypeSize.h
@@ -211,7 +211,7 @@ class UnivariateLinearPolyBase {
}
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;
More information about the llvm-commits
mailing list