diff options
author | Krasimir Georgiev <krasimir@google.com> | 2017-01-30 21:00:01 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2017-01-30 21:00:01 +0000 |
commit | e518e0bfe9326e32eca17bf532e4b58a07e4bc3a (patch) | |
tree | 2dd583e0d12f4b95a0c42bf38c6a1ac5d6c24d64 /llvm/lib/Target | |
parent | 98898f2b0283629a03e52950da0007bb82b01ef7 (diff) | |
download | bcm5719-llvm-e518e0bfe9326e32eca17bf532e4b58a07e4bc3a.tar.gz bcm5719-llvm-e518e0bfe9326e32eca17bf532e4b58a07e4bc3a.zip |
[clang-format] Fix regression that breaks comments without a comment prefix
Summary:
Consider formatting the following code fragment with column limit 20:
```
{
// line 1
// line 2\
// long long long line
}
```
Before this fix the output is:
```
{
// line 1
// line 2\
// long long
long line
}
```
This patch fixes a regression that breaks the last comment line without
adding the '//' prefix.
Reviewers: djasper
Reviewed By: djasper
Subscribers: cfe-commits, klimek
Differential Revision: https://reviews.llvm.org/D29298
llvm-svn: 293548
Diffstat (limited to 'llvm/lib/Target')
0 files changed, 0 insertions, 0 deletions