[clang] [llvm] [SystemZ][z/OS] Update autoconversion functions to improve support for UTF-8 (PR #98652)
Zibi Sarbinowski via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 9 12:42:12 PST 2024
================
@@ -70,6 +70,13 @@ class FileEntryRef {
const FileEntry &getFileEntry() const {
return *getBaseMapEntry().second->V.get<FileEntry *>();
}
+
+ // This is a non const version of getFileEntry() which is used if the buffer
+ // size needs to be increased due to potential z/OS EBCDIC -> UTF-8 conversion
+ FileEntry &getFileEntryToUpdate() {
----------------
zibi2 wrote:
nit: Consider rename this to `updateFileEntry()`
https://github.com/llvm/llvm-project/pull/98652
More information about the llvm-commits
mailing list