[libcxx-commits] [libcxx] [llvm] [LIT] remove `to_unicode`, `to_string`, and `to_bytes` helpers (PR #165950)
Tomohiro Kashiwada via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Nov 4 04:58:38 PST 2025
================
@@ -43,7 +43,7 @@ def get_num_tests(self, path, litConfig, localConfig):
return None
return sum(
map(
- lambda line: lit.util.to_string(line).startswith(" "),
+ lambda line: line.decode("utf-8", errors="replace").startswith(" "),
----------------
kikairoya wrote:
Yes, thanks.
https://github.com/llvm/llvm-project/pull/165950
More information about the libcxx-commits
mailing list