[PATCH] [clang-extra-tools] [clang-format] Unicode characters escaped in FormatTest.cpp

Curdeius Curdeius curdeius at gmail.com
Fri Aug 2 11:02:13 PDT 2013


Hi,
I've prepared a patch for clang-format unit test.
There were encoding problems with Unicode characters on MSVC.
I've escaped them.
However, the 4-byte characteres don't work as expected, so the
corresponding test is still turned off on MSVC (I've tried using escape
sequences like "\U0001abcd" but that doesn't work neither).
The patch is attached.

The formatting do not stick to the coding style rules, but I didn't know
how to handle escape sequences (yes, I could have used clang-format...).

Cheers,
Marek Kurdej
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130802/c945666e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-format-escaped-unicode-characters-msvc.patch
Type: application/octet-stream
Size: 9379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130802/c945666e/attachment.obj>


More information about the cfe-commits mailing list