[all-commits] [llvm/llvm-project] edf3b2: [SystemZ][z/OS] Propagate IsText parameter to open...

Abhina Sree via All-commits all-commits at lists.llvm.org
Thu Sep 19 11:30:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edf3b277a5f2ebe144827ed47463c22743cac5f9
      https://github.com/llvm/llvm-project/commit/edf3b277a5f2ebe144827ed47463c22743cac5f9
  Author: Abhina Sree <Abhina.Sreeskantharajan at ibm.com>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M clang-tools-extra/clangd/FS.cpp
    M clang-tools-extra/clangd/Preamble.cpp
    M clang-tools-extra/clangd/support/ThreadsafeFS.cpp
    M clang-tools-extra/clangd/unittests/ClangdTests.cpp
    M clang/include/clang/Basic/FileManager.h
    M clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
    M clang/lib/Basic/FileManager.cpp
    M clang/lib/Basic/SourceManager.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
    M clang/unittests/Driver/DistroTest.cpp
    M clang/unittests/Driver/ToolChainTest.cpp
    M clang/unittests/Frontend/PCHPreambleTest.cpp
    M clang/unittests/Tooling/DependencyScanning/DependencyScannerTest.cpp
    M lldb/unittests/Host/FileSystemTest.cpp
    M lldb/unittests/Utility/MockSymlinkFileSystem.h
    M llvm/include/llvm/Support/AutoConvert.h
    M llvm/include/llvm/Support/VirtualFileSystem.h
    M llvm/lib/Support/AutoConvert.cpp
    M llvm/lib/Support/FileCollector.cpp
    M llvm/lib/Support/VirtualFileSystem.cpp
    M llvm/unittests/Support/VirtualFileSystemTest.cpp

  Log Message:
  -----------
  [SystemZ][z/OS] Propagate IsText parameter to open text files as text (#107906)

This patch adds an IsText parameter to the following functions
openFileForRead, getBufferForFile, getBufferForFileImpl and determines
whether a file is text by querying the file tag on z/OS. The default is
set to OF_Text instead of OF_None, this change in value does not affect
any other platforms other than z/OS.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list