diff options
author | Krasimir Georgiev <krasimir@google.com> | 2017-01-31 15:40:15 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2017-01-31 15:40:15 +0000 |
commit | b796cebf3f749cc850173a61eedac56fd063acb0 (patch) | |
tree | 07ed4ae30e8bf298cf55689ccf923764e0ca5f42 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 7d9eaf713cbce26bcec432da3c7a1768b366a4d5 (diff) | |
download | llvm-b796cebf3f749cc850173a61eedac56fd063acb0.zip llvm-b796cebf3f749cc850173a61eedac56fd063acb0.tar.gz llvm-b796cebf3f749cc850173a61eedac56fd063acb0.tar.bz2 |
[clang-format] Fix regression about adding leading whitespace to the content of line comments
Summary:
The reflower didn't measure precisely the line column of a line in the middle of
a line comment section that has a prefix that needs to be adapted.
source:
```
/// a
//b
```
format before:
```
/// a
//b
```
format after:
```
/// a
// b
```
Reviewers: djasper
Reviewed By: djasper
Subscribers: sammccall, cfe-commits, klimek
Differential Revision: https://reviews.llvm.org/D29329
llvm-svn: 293641
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions