diff options
| author | Alexander Kornienko <alexfh@google.com> | 2013-07-16 21:06:13 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2013-07-16 21:06:13 +0000 |
| commit | 657c67b164b9c364ba2f2ab01541ebe41d7a4807 (patch) | |
| tree | 12eaa917fca1a0b422c0ba231fcd257469b929f0 /clang/lib/Format/Encoding.h | |
| parent | 8369aa5e12b6c5a0285c3e672e680e58be1d779c (diff) | |
| download | bcm5719-llvm-657c67b164b9c364ba2f2ab01541ebe41d7a4807.tar.gz bcm5719-llvm-657c67b164b9c364ba2f2ab01541ebe41d7a4807.zip | |
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
llvm-svn: 186456
Diffstat (limited to 'clang/lib/Format/Encoding.h')
0 files changed, 0 insertions, 0 deletions

