[clang] [llvm] [SystemZ][z/OS] Update autoconversion functions to improve support for UTF-8 (PR #98652)

Abhina Sree via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 11:24:15 PST 2024


================
@@ -70,6 +70,11 @@ class FileEntryRef {
   const FileEntry &getFileEntry() const {
     return *getBaseMapEntry().second->V.get<FileEntry *>();
   }
+#ifdef __MVS__
----------------
abhina-sree wrote:

There are a lot of uses of the const function so we would hit a lot of errors if we got rid of this. I'm not sure if there is a way to reduce the conditional directives. Other platforms will see errors about unused functions if the conditional directives were removed

https://github.com/llvm/llvm-project/pull/98652


More information about the cfe-commits mailing list