[clang] [llvm] [SystemZ][z/OS] Add new openFileForReadBinary function, and pass IsText parameter to getBufferForFile (PR #111723)

Abhina Sree via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 11:14:50 PDT 2024


================
@@ -324,6 +330,17 @@ ErrorOr<Status> RealFileSystem::status(const Twine &Path) {
 
 ErrorOr<std::unique_ptr<File>>
 RealFileSystem::openFileForRead(const Twine &Name) {
+  SmallString<256> RealName, Storage;
----------------
abhina-sree wrote:

I've created a private function for both functions to call, thanks!

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


More information about the cfe-commits mailing list