[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 10:43:19 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;
----------------
perry-ca wrote:
Can you put this code into a static function or even a private member function so you can avoid the duplication of code.
https://github.com/llvm/llvm-project/pull/111723
More information about the cfe-commits
mailing list