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

kadir çetinkaya via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 10 07:31:37 PDT 2024


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

it was quite confusing to see this as an overload, can you call it `openFileForReadWithFlags` ?

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


More information about the cfe-commits mailing list