sylvestre.ledru updated this revision to Diff 366937. sylvestre.ledru added a comment.
Replace " => ' Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D107887/new/ https://reviews.llvm.org/D107887 Files: clang/tools/scan-build-py/lib/libscanbuild/report.py Index: clang/tools/scan-build-py/lib/libscanbuild/report.py =================================================================== --- clang/tools/scan-build-py/lib/libscanbuild/report.py +++ clang/tools/scan-build-py/lib/libscanbuild/report.py @@ -417,7 +417,7 @@ 'bug_path_length': 1 } - with open(filename) as handler: + with open(filename, encoding='utf-8') as handler: for line in handler.readlines(): # do not read the file further if endsign.match(line):
Index: clang/tools/scan-build-py/lib/libscanbuild/report.py =================================================================== --- clang/tools/scan-build-py/lib/libscanbuild/report.py +++ clang/tools/scan-build-py/lib/libscanbuild/report.py @@ -417,7 +417,7 @@ 'bug_path_length': 1 } - with open(filename) as handler: + with open(filename, encoding='utf-8') as handler: for line in handler.readlines(): # do not read the file further if endsign.match(line):
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits