llvm::operator==

Return true if SmallVector LHS equals ArrayRef RHS.

Synopsis

Declared in <llvm/ADT/ArrayRef.h>

template<typename T>
[[nodiscard]]
bool
operator==(
    SmallVectorImpl<T> const& LHS,
    ArrayRef<T> RHS);

Return Value

True if LHS equals RHS.

NOTE

The return value should not be discarded.

Parameters

NameDescription
LHSLeft-hand SmallVector.
RHSRight-hand ArrayRef.