We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2163dca commit e576531Copy full SHA for e576531
libc/src/__support/wchar/character_converter.cpp
@@ -68,8 +68,7 @@ int CharacterConverter::push(char8_t utf8_byte) {
68
// Any subsequent push
69
// Adding 6 more bits so need to left shift
70
if (num_ones == 1 && !isComplete()) {
71
- char32_t byte =
72
- utf8_byte & MASK_ENCODED_BITS;
+ char32_t byte = utf8_byte & MASK_ENCODED_BITS;
73
state->partial = state->partial << ENCODED_BITS_PER_UTF8;
74
state->partial |= byte;
75
state->bytes_processed++;
0 commit comments