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

Sean Perry via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 9 11:28:17 PDT 2024


================
@@ -302,6 +305,17 @@ class RealFileSystem : public FileSystem {
     return Storage;
   }
 
+  ErrorOr<std::unique_ptr<File>> openFileForRead(const Twine &Name,
----------------
perry-ca wrote:

np.  I was misreading the diff.  I didn't see it was a private member function.  It looked like a file scope function.  I was thinking file scope static, not static member.

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


More information about the cfe-commits mailing list