diff options
| author | Alexander Kornienko <alexfh@google.com> | 2013-07-08 14:12:07 +0000 |
|---|---|---|
| committer | Alexander Kornienko <alexfh@google.com> | 2013-07-08 14:12:07 +0000 |
| commit | 1659dedac63858de50ee60175a88c42ff974e61b (patch) | |
| tree | 417ca6979b1e415153a67c85774b6d0b2fa37155 /lib/CodeGen/CGExprAgg.cpp | |
| parent | 80747a834cf8b0304b314ede9aba3d6ddb8e9520 (diff) | |
| download | clang-1659dedac63858de50ee60175a88c42ff974e61b.tar.gz clang-1659dedac63858de50ee60175a88c42ff974e61b.tar.bz2 clang-1659dedac63858de50ee60175a88c42ff974e61b.tar.xz | |
Fix for corner cases in code handling leading "* " decorations in block comments
Summary:
Fixes problems that lead to incorrect formatting of these and similar snippets:
/*
**
*/
/*
**/
/*
* */
/*
*test
*/
Clang-format used to think that all the cases above use "* " decoration, and
failed to calculate insertion position properly. It also used to remove leading
"* " in the last line.
Reviewers: klimek
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1113
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
