Skip to content

Commit

Permalink
Rex: remove the deprecated StringRef:equals
Browse files Browse the repository at this point in the history
Signed-off-by: Ruowen Qin <[email protected]>
  • Loading branch information
chinrw committed Oct 24, 2024
1 parent 28e258d commit 3360367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/X86/X86RexFrameSize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ bool X86RexFrameSizePassMF::run() {
auto FoundInVec = [&](const SmallVector<StringRef, 32> &Vec,
const StringRef &Target) {
return std::any_of(Vec.begin(), Vec.end(), [&Target](const StringRef &Str) {
return Str.equals(Target);
return Str == Target;
});
};

Expand Down

0 comments on commit 3360367

Please sign in to comment.