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 60a59e3 commit 38daa6dCopy full SHA for 38daa6d
libc/hdr/types/char8_t.h
@@ -9,14 +9,6 @@
9
#ifndef LLVM_LIBC_HDR_TYPES_CHAR8_T_H
10
#define LLVM_LIBC_HDR_TYPES_CHAR8_T_H
11
12
-#ifdef LIBC_FULL_BUILD
13
-
14
#include "include/llvm-libc-types/char8_t.h"
15
16
-#else // overlay mode
17
18
-#include "hdr/uchar_overlay.h"
19
20
-#endif // LLVM_LIBC_FULL_BUILD
21
22
#endif // LLVM_LIBC_HDR_TYPES_CHAR8_T_H
libc/src/__support/wchar/character_converter.cpp
@@ -70,7 +70,7 @@ ErrorOr<char8_t> CharacterConverter::pop_utf8() {
70
char32_t output;
71
72
// Shift to get the next 6 bits from the utf32 encoding
73
- const char32_t shift_amount =
+ const size_t shift_amount =
74
(state->total_bytes - state->bytes_processed - 1) * ENCODED_BITS_PER_UTF8;
75
if (state->bytes_processed == 0) {
76
/*
0 commit comments