diff options
| author | Alexander Kornienko <alexfh@google.com> | 2014-03-10 13:14:56 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2014-03-10 13:14:56 +0000 |
| commit | d6b36350630002c603302efc78bbeb39633ba694 (patch) | |
| tree | 3827ba4b42318dfd99af61a157f4933c1bd93560 /lib/Tooling/CompilationDatabase.cpp | |
| parent | f58bc2e3c56009708c7c8bbee0308ef4dd439722 (diff) | |
| download | clang-d6b36350630002c603302efc78bbeb39633ba694.tar.gz clang-d6b36350630002c603302efc78bbeb39633ba694.tar.bz2 clang-d6b36350630002c603302efc78bbeb39633ba694.tar.xz | |
Preserve hanging indent when breaking line comments.
Summary:
If we need to break the second line here:
// something: aaaaa aaaaa aaaaaa aaaaa aaaaa
// aaaaa aaaaa aaaaaa aaaaa aaaaa aaaaa
with the patch it will be turned to
// something: aaaaa aaaaa aaaaaa aaaaa aaaaa
// aaaaa aaaaa aaaaaa aaaaa aaaaa
// aaaaa
instead of
// something: aaaaa aaaaa aaaaaa aaaaa aaaaa
// aaaaa aaaaa aaaaaa aaaaa aaaaa
// aaaaa
Reviewers: djasper, klimek
Reviewed By: klimek
CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D2988
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203458 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Tooling/CompilationDatabase.cpp')
0 files changed, 0 insertions, 0 deletions
