Skip to content

Commit f2cf8c8

Browse files
committed
Remain only one lower_bound operator
1 parent 947a81e commit f2cf8c8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

llvm/lib/TargetParser/RISCVTargetParser.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,6 @@ struct LessExtName {
141141
StringRef RHS) {
142142
return StringRef(LHS.Name) < RHS;
143143
}
144-
bool
145-
operator()(StringRef LHS,
146-
const RISCVExtensionBitmaskTable::RISCVExtensionBitmask &RHS) {
147-
return LHS < StringRef(RHS.Name);
148-
}
149144
};
150145
} // namespace
151146

0 commit comments

Comments
 (0)