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

Yunzhong Gao Yunzhong_Gao at playstation.sony.com
Wed Sep 11 12:07:43 PDT 2013


  > > 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



More information about the cfe-commits mailing list