[PATCH] D139274: Store OptTable::Info::Name as a StringRef
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 6 03:48:17 PST 2022
nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.
LG
================
Comment at: llvm/lib/Option/OptTable.cpp:41
+ size_t MinSize = std::min(A.size(), B.size());
+ if (int res = A.substr(0, MinSize).compare_insensitive(B.substr(0, MinSize)))
+ return res;
----------------
res -> Res
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139274/new/
https://reviews.llvm.org/D139274
More information about the llvm-commits
mailing list