aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-01-27 19:00:51 +0000
committerZachary Turner <zturner@google.com>2016-01-27 19:00:51 +0000
commit671e6340da589fe94d30fa97fb3c89318881a775 (patch)
tree9ca438b32799605efaa0b2b22adf26fa265ea937 /clang/unittests/Format/FormatTestJava.cpp
parente89a66bd4a30a9c421405f56aa93ce6818fdddc7 (diff)
downloadllvm-671e6340da589fe94d30fa97fb3c89318881a775.zip
llvm-671e6340da589fe94d30fa97fb3c89318881a775.tar.gz
llvm-671e6340da589fe94d30fa97fb3c89318881a775.tar.bz2
Resubmit r258759 with proper unicode handling.
Instead of opening the file in unicode mode, we need only encode data which potentially has non-ASCII characters as UTF8 before writing. This should work across both Python versions, and is also far simpler than anything else discussed. llvm-svn: 258969
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions