[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
Fri Dec 6 09:15:08 PST 2024


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

Thanks, I made a small helper function to move out the conditional code

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


More information about the cfe-commits mailing list