[all-commits] [llvm/llvm-project] acb3b8: [Sanitizers] Fix lint failure with Python 3.6

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Fri Jul 31 04:22:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: acb3b8dce1cd7ed25a137c718678449dd2d77f79
      https://github.com/llvm/llvm-project/commit/acb3b8dce1cd7ed25a137c718678449dd2d77f79
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-07-31 (Fri, 31 Jul 2020)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/scripts/litlint.py

  Log Message:
  -----------
  [Sanitizers] Fix lint failure with Python 3.6

There are some files in compiler-rt that use UTF-8 characters in some of the
comments. This causes lint failures with some versions of Python. This patch
just makes the encoding explicit in the call to open.




More information about the All-commits mailing list