summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2013-09-05 14:08:34 +0000
committerAlexander Kornienko <alexfh@google.com>2013-09-05 14:08:34 +0000
commit0b62cc30c9aa462184de0435dc083d944a41d67f (patch)
treeeda31e19d3265b07413dd9e4a1e870d0dd2bd916 /lib/CodeGen/CodeGenFunction.cpp
parentdeb77991a2bef594285864d72cb2bf90dec706ff (diff)
downloadclang-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