[PATCH] D140300: [lit] Fix a few issues in relative_lines.py

2022-12-19 Thread Haojian Wu via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG683451bce3d6: [lit] Fix a few issues in relative_lines.py (authored by hokein). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION h

[PATCH] D140300: [lit] Fix a few issues in relative_lines.py

2022-12-19 Thread Sam McCall via Phabricator via cfe-commits
sammccall accepted this revision. sammccall added a comment. This revision is now accepted and ready to land. thank you! I guess I tested this only on files with no matches/bad utf-8 :-( Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D140300/new/ htt

[PATCH] D140300: [lit] Fix a few issues in relative_lines.py

2022-12-19 Thread Haojian Wu via Phabricator via cfe-commits
hokein created this revision. hokein added a reviewer: sammccall. Herald added a project: All. hokein requested review of this revision. Herald added a project: LLVM. Herald added a subscriber: llvm-commits. - fixes error: Line: 91 result += contents[pos:m.start(index)] TypeError: can only conca