r183312 - UTF-8 support for clang-format.

Sean Silva silvas at purdue.edu
Fri Jun 7 14:41:47 PDT 2013


On Fri, Jun 7, 2013 at 9:49 AM, Alexander Kornienko <alexfh at google.com>wrote:

> Readability. I think, we already have enough complexity in clang-format
> tests. I'd not make things even worse here.
>
>
>
> On Fri, Jun 7, 2013 at 6:39 PM, Jordan Rose <jordan_rose at apple.com> wrote:
>
>> What's wrong with using escapes? (Other than readability....or is that
>> it?)
>>
>>
IMO using escapes is not as bad as having to special-case the file encoding
of this file. Also I don't think that the Standard necessarily guarantees
that those string literals will be represented as UTF-8 in the resulting
program. You can add the "actual text" in a comment to preserve readability.

-- Sean Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130607/5e27dc0c/attachment.html>


More information about the cfe-commits mailing list