diff options
| author | Manuel Klimek <klimek@google.com> | 2013-05-23 11:42:52 +0000 |
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2013-05-23 11:42:52 +0000 |
| commit | ebfb88c32adb40b64a44479708dc6931224ccf96 (patch) | |
| tree | 773d7f0c95172768cbe9100d61133fc389c29a53 /lib/CodeGen/CGExprAgg.cpp | |
| parent | ad3094b7d85a4f8eeaf3f60364d5e8796537f061 (diff) | |
| download | clang-ebfb88c32adb40b64a44479708dc6931224ccf96.tar.gz clang-ebfb88c32adb40b64a44479708dc6931224ccf96.tar.bz2 clang-ebfb88c32adb40b64a44479708dc6931224ccf96.tar.xz | |
Stop aligning trailing comments which are aligned with the next line.
Previously we would align:
f(); // comment
// other comment
g();
Even if // other comment was at the start of the line. Now we do not
align trailing comments if they have been already aligned correctly
with the next line.
Thus,
f(); // comment
// other comment
g();
will not be changed, while:
f(); // comment
// other commment
g();
will lead to the two trailing comments being aligned.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
