[libc] Implement wctype classification functions
The internal implementation for these functions is complete, now they just need their entrypoints. Here's the list of functions:
- [x] iswlower
- [x] iswupper
- [x] iswdigit
- [x] iswalpha
- [x] iswalnum
- [x] iswspace
- [x] iswblank
- [x] iswgraph
- [x] iswprint
- [x] iswxdigit
- [x] iswcntrl
- [x] iswpunct
Please take one at a time. Comment below if you would like to take one.
Hi!
This issue may be a good introductory issue for people new to working on LLVM. If you would like to work on this issue, your first steps are:
- Check that no other contributor is working on this issue. If someone is assigned to the issue or claimed to be working on it, ping the person. After one week without a response, the assignee may be changed.
- Leave a comment indicating that you are working on the issue, or just create a pull request after following the steps below. Mention this issue in the description of the pull request.
- Fix the issue locally.
- Run the test suite locally. Remember that the subdirectories under
test/create fine-grained testing targets, so you can e.g. usemake check-clang-astto only run Clang's AST tests. - Create a Git commit.
- Run
git clang-format HEAD~1to format your changes. - Open a pull request to the upstream repository on GitHub. Detailed instructions can be found in GitHub's documentation. Mention this issue in the description of the pull request.
If you have any further questions about this issue, don't hesitate to ask via a comment in the thread below.
@llvm/issue-subscribers-libc
Author: Michael Jones (michaelrj-google)
- [ ] iswlower
- [ ] iswupper
- [ ] iswdigit
- [ ] iswalpha
- [ ] iswalnum
- [ ] iswspace
- [ ] iswblank
- [ ] iswgraph
- [ ] iswprint
- [ ] iswxdigit
- [ ] iswcntrl
- [ ] iswpunct
Please take one at a time. Comment below if you would like to take one.
@llvm/issue-subscribers-good-first-issue
Author: Michael Jones (michaelrj-google)
- [ ] iswlower
- [ ] iswupper
- [ ] iswdigit
- [ ] iswalpha
- [ ] iswalnum
- [ ] iswspace
- [ ] iswblank
- [ ] iswgraph
- [ ] iswprint
- [ ] iswxdigit
- [ ] iswcntrl
- [ ] iswpunct
Please take one at a time. Comment below if you would like to take one.
Hi would like to take iswlower
Hi would like to take iswupper
Hi, I would take iswalnum
Does this require making a new source file and header in libc/src/wctype?
Does this require making a new source file and header in
libc/src/wctype?
looks like iswalpha is already done ?
Does this require making a new source file and header in
libc/src/wctype?looks like iswalpha is already done ?
Yes, I think same needs to be repeated for other functions.
Hi, I would like to work on iswspace
Hi, I would like to take iswblank
Hi, I would like to work on iswprint
hello~ I'd like to take iswgraph
Hi, I would like to take iswcntrl
I'll take iswpunct since it seems like it's still available
Hi, would like to work on iswxdigit since its the last one available .
Thank you all for your interest! I've checked off all the functions that currently have open or merged PRs and commented on all those PRs.
For functions that don't currently have PRs
@asmull claimed iswpunct
@Sukumarsawant claimed iswxdigit
@mirimmad claimed isalnum
I'm very excited to see how quickly this has gotten done, great work everyone!
@michaelrj-google I'll create a PR by tomorrow.
@michaelrj-google can i take iswpunct ?