| 28 | |
| 29 | namespace { |
| 30 | bool isUtf8CodeUnitStartOfCodepoint(unsigned int i) { |
| 31 | return (i & 0xc0) != 0x80; |
| 32 | } |
| 33 | |
| 34 | std::ptrdiff_t utf8CodepointOffset( |
| 35 | const std::string& expression, const std::string::const_iterator& it |
nothing calls this directly
no outgoing calls
no test coverage detected