summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprConstant.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2013-07-16 21:06:13 +0000
committerAlexander Kornienko <alexfh@google.com>2013-07-16 21:06:13 +0000
commit10c26b2e974f97c75fc3aaa302ca750f422cbce1 (patch)
tree841e43e58bd1f676575aae898f0caf37fed737d6 /lib/CodeGen/CGExprConstant.cpp
parent561211d35b5a2825fba6d0c017044f6896b204fd (diff)
downloadclang-10c26b2e974f97c75fc3aaa302ca750f422cbce1.tar.gz
clang-10c26b2e974f97c75fc3aaa302ca750f422cbce1.tar.bz2
clang-10c26b2e974f97c75fc3aaa302ca750f422cbce1.tar.xz
Don't break line comments with escaped newlines.
Summary: These can appear when comments contain command lines with quoted line breaks. As the text (including escaped newlines and '//' from consecutive lines) is a single line comment, we used to break it even when it didn't exceed column limit. This is a temporary solution, in the future we may want to support this case completely - at least adjust leading whitespace when changing indentation of the first line. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D1146 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186456 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions