Revert "[ADT] Remove redundaunt typename (NFC)"
authorKazu Hirata <kazu@google.com>
Sun, 30 Oct 2022 20:20:50 +0000 (13:20 -0700)
committerKazu 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

index 3efcdc4..0777005 100644 (file)
@@ -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;