diff options
| author | Alexander Kornienko <alexfh@google.com> | 2013-06-17 12:59:44 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2013-06-17 12:59:44 +0000 |
| commit | 22d0e2985d00010ed1d56168985ca34adc75b80a (patch) | |
| tree | 7c10891de234e509b9de7567ce17eb0240e9e731 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | cff15128c6c089bd6fae841b80680e6f5afbf0bf (diff) | |
| download | clang-22d0e2985d00010ed1d56168985ca34adc75b80a.tar.gz clang-22d0e2985d00010ed1d56168985ca34adc75b80a.tar.bz2 clang-22d0e2985d00010ed1d56168985ca34adc75b80a.tar.xz | |
Fixes incorrect indentation of line comments after break and re-alignment.
Summary:
Selectively propagate the information about token kind in
WhitespaceManager::replaceWhitespaceInToken.For correct alignment of new
segments of line comments in order to align them correctly. Don't set
BreakBeforeParameter in breakProtrudingToken for line comments, as it introduces
a break after the _next_ parameter. Added tests for related functions.
Reviewers: klimek
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D980
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184076 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
