diff options
| author | Philipp Stephani <phst@google.com> | 2017-01-20 09:37:50 +0000 |
|---|---|---|
| committer | Philipp Stephani <phst@google.com> | 2017-01-20 09:37:50 +0000 |
| commit | ce2f6b413f994aebcf207a0b4fe0b06acf9ce717 (patch) | |
| tree | 12a0372dbfe20d898c82fe9f5bb39e7e1cdaf795 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
| parent | 3cdf650770a9066fa5bb631eafe86d2a52f2f064 (diff) | |
Use UTF-8 for all communication with clang-format
Summary: Instead of picking the buffer file coding system, always use utf-8-unix for communicating with clang-format. This is fine because clang-format never actually reads the file to be formatted, only standard input. This is a bit simpler (process coding system is now a constant) and potentially faster, as utf-8-unix is Emacs's internal coding system. Also add an end-to-end test that actually invokes clang-format.
Reviewers: klimek
Reviewed By: klimek
Differential Revision: https://reviews.llvm.org/D28904
llvm-svn: 292593
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions
