We have adopted these and don't consider them 'contrib' code.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
lib/libc/string/strcspn.c | ||
---|---|---|
31–32 | splitting between the 1 and << seems confusing |
Comment Actions
I much prefer the formatted version, except perhaps for the BITOP macro.
We have adopted these functions; changes from musl, if any, would be manually applied if this change goes in.
OpenBSD also imported some musl string routines and reformatted them.
lib/libc/string/strcspn.c | ||
---|---|---|
31–32 | Seems like clang-format assumes that op( is a function call and then the formatting for the rest of the line is broken. |
Comment Actions
strchr and strchrnul imported in 7f72497ef756ff7d03d5560c2d1c1f92f73fcb52, already formatted
strcspn was dropped from D17630