diff options
author | Krasimir Georgiev <krasimir@google.com> | 2017-01-31 14:31:44 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2017-01-31 14:31:44 +0000 |
commit | af1b9622d4208aa1c60cf8ea49bdc567b189dbb3 (patch) | |
tree | d009547d7b7e88a01ef5848d59a92291c3b67d44 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | f103c0d7fdb714bfaaa261e2b4f19550ed1244f8 (diff) | |
download | llvm-af1b9622d4208aa1c60cf8ea49bdc567b189dbb3.zip llvm-af1b9622d4208aa1c60cf8ea49bdc567b189dbb3.tar.gz llvm-af1b9622d4208aa1c60cf8ea49bdc567b189dbb3.tar.bz2 |
[clang-format] Fix reflow in block comment lines with leading whitespace.
Summary:
The reflower was not taking into account the additional leading whitespace in block comment lines.
source:
```
{
/*
* long long long long
* long
* long long long long
*/
}
```
format (with column limit 20) before:
```
{
/*
* long long long
* long long long long
* long long
*/
}
```
format after:
```
{
/*
* long long long
* long long long
* long long long
*/
}
```
Reviewers: djasper, klimek
Reviewed By: djasper
Subscribers: cfe-commits, sammccall, klimek
Differential Revision: https://reviews.llvm.org/D29326
llvm-svn: 293633
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions