diff --git a/llvm/include/llvm/ADT/STLExtras.h b/llvm/include/llvm/ADT/STLExtras.h --- a/llvm/include/llvm/ADT/STLExtras.h +++ b/llvm/include/llvm/ADT/STLExtras.h @@ -1791,24 +1791,6 @@ return all_equal>(std::move(Values)); } -/// Returns true if Range consists of the same value repeated multiple times. -template -LLVM_DEPRECATED( - "Use 'all_equal(Range)' or '!empty(Range) && all_equal(Range)' instead.", - "all_equal") -bool is_splat(R &&Range) { - return !llvm::empty(Range) && all_equal(Range); -} - -/// Returns true if Values consists of the same value repeated multiple times. -template -LLVM_DEPRECATED( - "Use 'all_equal(Values)' or '!empty(Values) && all_equal(Values)' instead.", - "all_equal") -bool is_splat(std::initializer_list Values) { - return is_splat>(std::move(Values)); -} - /// Provide a container algorithm similar to C++ Library Fundamentals v2's /// `erase_if` which is equivalent to: ///