diff --git a/llvm/include/llvm/Support/TypeSize.h b/llvm/include/llvm/Support/TypeSize.h index 3efcdc486d36f2..0777005643a712 100644 --- a/llvm/include/llvm/Support/TypeSize.h +++ b/llvm/include/llvm/Support/TypeSize.h @@ -211,7 +211,7 @@ class UnivariateLinearPolyBase { } template - friend typename std::enable_if_t::value, LeafTy> + friend std::enable_if_t::value, LeafTy> operator-(const LeafTy &LHS) { LeafTy Copy = LHS; return Copy *= -1;