[PATCH] D107887: scan-build-py: Force the opening in utf-8

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 17 10:08:26 PDT 2021


phosek accepted this revision.
phosek added a comment.

LGTM



================
Comment at: clang/tools/scan-build-py/lib/libscanbuild/report.py:420
 
-    with open(filename) as handler:
+    with open(filename, encoding="utf-8") as handler:
         for line in handler.readlines():
----------------
The rest of this file uses `'` rather than `"` for strings, can we keep it consistent?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107887/new/

https://reviews.llvm.org/D107887



More information about the cfe-commits mailing list