diff options
| author | Alexander Kornienko <alexfh@google.com> | 2013-09-05 14:08:34 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2013-09-05 14:08:34 +0000 |
| commit | 0b62cc30c9aa462184de0435dc083d944a41d67f (patch) | |
| tree | eda31e19d3265b07413dd9e4a1e870d0dd2bd916 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | deb77991a2bef594285864d72cb2bf90dec706ff (diff) | |
| download | clang-0b62cc30c9aa462184de0435dc083d944a41d67f.tar.gz clang-0b62cc30c9aa462184de0435dc083d944a41d67f.tar.bz2 clang-0b62cc30c9aa462184de0435dc083d944a41d67f.tar.xz | |
Handle zero-width and double-width characters in string literals and comments.
Summary:
Count column width instead of the number of code points. This also
includes correct handling of tabs inside string literals and comments (with an
exception of multiline string literals/comments, where tabs are present before
the first escaped newline).
Reviewers: djasper, klimek
Reviewed By: klimek
CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D1601
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190052 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
