We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6f9278 commit f88760fCopy full SHA for f88760f
llvm/include/llvm/TableGen/Record.h
@@ -2098,7 +2098,7 @@ class RecordKeeper {
2098
/// Sorting predicate to sort record pointers by name.
2099
struct LessRecord {
2100
bool operator()(const Record *Rec1, const Record *Rec2) const {
2101
- return StringRef(Rec1->getName()).compare_numeric(Rec2->getName()) < 0;
+ return Rec1->getName().compare_numeric(Rec2->getName()) < 0;
2102
}
2103
};
2104
0 commit comments