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

Sean Perry via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 5 08:03:19 PST 2024


================
@@ -617,6 +625,23 @@ FileID SourceManager::createFileIDImpl(ContentCache &File, StringRef Filename,
     return FileID::get(LoadedID);
   }
   unsigned FileSize = File.getSize();
+#ifdef __MVS__
----------------
perry-ca wrote:

I think we can just remove #if and make a version of `needzOSConversion` that is not z/OS specific.  

We need to be doing something with the error condition.

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


More information about the cfe-commits mailing list