[PATCH] [2/6] Convert non-printing characters to their octal sequence before emitting #line directive or __FILE__ macro

Eli Friedman eli.friedman at gmail.com
Wed Sep 11 12:17:32 PDT 2013

Lexer::StringifyWithAddedEscape already exists; it's called

And please rebase this against trunk.


On Wed, Sep 11, 2013 at 12:07 PM, Yunzhong Gao <
Yunzhong_Gao at playstation.sony.com> wrote:

>   > > This is part of a bigger effort to support foreign characters in
> file names.
>   This sentence is merely to give a background of this patch, which is
> only the second of six patches...
>   I am particularly interested in supporting Japanese shift-jis encoding
> (windows code page 932)
>   on Windows. On these systems, #include directives will use UTF-8
> encoding but file names on
>   command prompt will use shift-jis encoding. Both will be translated to
> UTF-16/unicode before
>   making system calls to the underlying file system.
> http://llvm-reviews.chandlerc.com/D1291
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130911/521b1c2f/attachment.html>

More information about the cfe-commits mailing list