This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add {,r}index
ClosedPublic

Authored by abrachet on Apr 3 2023, 11:42 AM.

Diff Detail

Event Timeline

abrachet created this revision.Apr 3 2023, 11:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 3 2023, 11:42 AM
abrachet requested review of this revision.Apr 3 2023, 11:42 AM
mcgrathr accepted this revision.Apr 4 2023, 5:23 PM
mcgrathr added a subscriber: mcgrathr.

Code looks fine modulo public decl location and cleanups in the enabling change such as template vs macro for the test code.

libc/spec/bsd_ext.td
18

These are usually declared only in <strings.h>, not in <string.h>.

This revision is now accepted and ready to land.Apr 4 2023, 5:23 PM
This revision was landed with ongoing or failed builds.Apr 10 2023, 6:17 PM
Closed by commit rGa0a141fcbe1d: [libc] Add {,r}index (authored by abrachet). · Explain Why
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptApr 10 2023, 6:17 PM
abrachet marked an inline comment as done.Apr 10 2023, 6:17 PM
abrachet added inline comments.
libc/spec/bsd_ext.td
18

Thanks. Done in commit