diff options
| author | Krasimir Georgiev <krasimir@google.com> | 2017-02-08 10:30:44 +0000 |
|---|---|---|
| committer | Krasimir Georgiev <krasimir@google.com> | 2017-02-08 10:30:44 +0000 |
| commit | f62f958a585ffca822f11f1e6b20212ed8a5ed84 (patch) | |
| tree | 4c0953761c0077acfe0d3a23f26566b80812c9ab /compiler-rt/test | |
| parent | db370bd6efa102c48f7b9c89c1bb9ebd1ce3031f (diff) | |
| download | bcm5719-llvm-f62f958a585ffca822f11f1e6b20212ed8a5ed84.tar.gz bcm5719-llvm-f62f958a585ffca822f11f1e6b20212ed8a5ed84.zip | |
[clang-format] Break before a sequence of line comments aligned with the next line.
Summary:
Make the comment alignment respect sections of line comments originally alinged
with the next token. Until now the decision how to break a continuous sequence
of line comments into sections was taken without reference to the next token.
source:
```
class A {
public: // comment about public
// comment about a
int a;
}
```
format before:
```
class A {
public: // comment about public
// comment about a
int a;
}
```
format after:
```
class A {
public: // comment about public
// comment about a
int a;
}
```
Reviewers: djasper, klimek
Reviewed By: klimek
Subscribers: cfe-commits, klimek
Differential Revision: https://reviews.llvm.org/D29626
llvm-svn: 294435
Diffstat (limited to 'compiler-rt/test')
0 files changed, 0 insertions, 0 deletions

