diff options
author | rmarker <37921131+rmarker@users.noreply.github.com> | 2024-01-31 11:59:46 +1030 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-30 17:29:46 -0800 |
commit | c806d8c7e948f01405be4ea344d883f066f8ae59 (patch) | |
tree | 5990a02d55f3268d19242ed9d38b0c99fbfb5ba3 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | b21a2f9365b6c5fd464a97be5dfe7085742870ef (diff) | |
download | llvm-c806d8c7e948f01405be4ea344d883f066f8ae59.zip llvm-c806d8c7e948f01405be4ea344d883f066f8ae59.tar.gz llvm-c806d8c7e948f01405be4ea344d883f066f8ae59.tar.bz2 |
[clang-format] Explicitly open DOC_FILE with utf-8 in dump_format_style.py (#79805)
The dump_format_style.py script generates the clang-format style options
documentation.
There was an issue where the script could include spurious characters in
the output when run in windows. It appears that it wasn't defaulting to
the correct encoding when reading the input.
This has been addressed by explicitly setting the encoding when opening
the file.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions