[PATCH] D107202: ConvertUTF: convertUTF32ToUTF8String

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 4 00:49:32 PDT 2021


efriedma added a comment.

The the way the math is written now, for "Example", we allocate UNI_MAX_UTF8_BYTES_PER_CODE_POINT * sizeof(UTF32) * 7 = 112 bytes.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107202/new/

https://reviews.llvm.org/D107202



More information about the llvm-commits mailing list