[all-commits] [llvm/llvm-project] 683451: [lit] Fix a few issues in relative_lines.py

Haojian Wu via All-commits all-commits at lists.llvm.org
Mon Dec 19 10:57:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 683451bce3d6b61097a5f56598cbc83b5fb52103
      https://github.com/llvm/llvm-project/commit/683451bce3d6b61097a5f56598cbc83b5fb52103
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M llvm/utils/relative_lines.py

  Log Message:
  -----------
  [lit] Fix a few issues in relative_lines.py

- fixes error: Line: 91  result += contents[pos:m.start(index)] TypeError: can only concatenate str (not "bytes") to str
- fixes the "-code-completion-at=%s:%(lineb'-7')" rewritten results

Differential Revision: https://reviews.llvm.org/D140300




More information about the All-commits mailing list