They are essentially a combination of startswith and a self-modifying
drop_front, or endswith and drop_back respectively.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Thanks Pete & George, submitted with your fixes
include/llvm/ADT/StringRef.h | ||
---|---|---|
452 ↗ | (On Diff #65218) | I suspect I'll want to just use them for optional consuming some times... But I think your suggestion is right. IF the pattern becomes anonying to make explicit, can always drop it. |