diff options
| author | Alexander Kornienko <alexfh@google.com> | 2014-04-17 16:12:46 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2014-04-17 16:12:46 +0000 |
| commit | 735025907681b30e2a1cb22f2c1671183e1120b5 (patch) | |
| tree | bc6465dee9cd9d2c55f1b065df6b261b353e493f /lib/CodeGen/CGExprConstant.cpp | |
| parent | 1ae2588a1705dbf47551636e766d445be12797d4 (diff) | |
| download | clang-735025907681b30e2a1cb22f2c1671183e1120b5.tar.gz clang-735025907681b30e2a1cb22f2c1671183e1120b5.tar.bz2 clang-735025907681b30e2a1cb22f2c1671183e1120b5.tar.xz | |
Fix alignment of trailing block comments.
Summary:
This patch ensures that the lines of the block comments retain relative
column offsets. In order to do this WhitespaceManager::Changes representing
continuation of block comments keep a pointer on the change representing the
whitespace change before the block comment, and a relative column offset to this
change, so that the correct column can be reconstructed at the end of alignment
process.
Fixes http://llvm.org/PR19325
Reviewers: djasper
Reviewed By: djasper
CC: cfe-commits, klimek
Differential Revision: http://reviews.llvm.org/D3408
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206472 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
