[all-commits] [llvm/llvm-project] e22ce6: [z/OS] treat text files as text files so auto-conv...

Sean Perry via All-commits all-commits at lists.llvm.org
Wed May 1 07:40:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e22ce615fe31a78857a8574c12a32bddc6da465e
      https://github.com/llvm/llvm-project/commit/e22ce615fe31a78857a8574c12a32bddc6da465e
  Author: Sean Perry <39927768+perry-ca at users.noreply.github.com>
  Date:   2024-05-01 (Wed, 01 May 2024)

  Changed paths:
    M clang/tools/clang-format/ClangFormat.cpp
    M llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
    M llvm/tools/llvm-cxxmap/llvm-cxxmap.cpp
    M llvm/tools/yaml2obj/yaml2obj.cpp
    M llvm/utils/lit/lit/builtin_commands/cat.py
    M llvm/utils/lit/lit/llvm/config.py

  Log Message:
  -----------
  [z/OS] treat text files as text files so auto-conversion is done (#90128)

To support auto-conversion on z/OS text files need to be opened as text files. These changes will fix a number of LIT failures due to text files not being converted to the internal code page.

update a number of tools so they open the text files as text files
add support in the cat.py to open a text file as a text file (Windows will continue to treat all files as binary so new lines are handled correctly)
add env var definitions to enable auto-conversion in the lit config file.



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