diff options
author | Krasimir Georgiev <krasimir@google.com> | 2017-01-30 19:18:55 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2017-01-30 19:18:55 +0000 |
commit | 8432161f1dbd61d8acb88e906cbe9535cc56748c (patch) | |
tree | 94776c64c329792fe2fe7096f0e3dae865f8f248 /llvm/lib/IRReader | |
parent | 3695d06a10df6dca79758150c5d0bca882f42d7a (diff) | |
download | bcm5719-llvm-8432161f1dbd61d8acb88e906cbe9535cc56748c.tar.gz bcm5719-llvm-8432161f1dbd61d8acb88e906cbe9535cc56748c.zip |
[clang-format] Separate line comment sections after a right brace from comment sections in the scope.
Summary:
The following two comment lines form a single comment section:
```
if (1) { // line 1
// line 2
}
```
This is because the break of a comment section was based on the original column
of the first token of the previous line (in this case, the 'if').
This patch splits these two comment lines into different sections by taking into
account the original column of the right brace preceding the first line comment
where applicable.
Reviewers: djasper
Reviewed By: djasper
Subscribers: cfe-commits, klimek
Differential Revision: https://reviews.llvm.org/D29291
llvm-svn: 293539
Diffstat (limited to 'llvm/lib/IRReader')
0 files changed, 0 insertions, 0 deletions