forked from OSchip/llvm-project
Fix a really bad typo in my last commit.
llvm-svn: 230922
This commit is contained in:
parent
876bd51486
commit
201a48471b
|
@ -135,8 +135,10 @@ namespace llvm {
|
|||
|
||||
/// equals - Check for element-wise equality.
|
||||
bool equals(ArrayRef RHS) const {
|
||||
if (Length != RHS.Length || Length == 0)
|
||||
if (Length != RHS.Length)
|
||||
return false;
|
||||
if (Length == 0)
|
||||
return true;
|
||||
return std::equal(begin(), end(), RHS.begin());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue