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 | 614d96a1f689ee126e974f8c8d15194a9d881075 (patch) | |
tree | 10f3d3fa71520ea51f421e5c1e022b96c2bbb6d2 /llvm/lib/Support/FileOutputBuffer.cpp | |
parent | ddd7b6a1c8dc21e700a20d05a12210e6c063a510 (diff) | |
download | llvm-614d96a1f689ee126e974f8c8d15194a9d881075.zip llvm-614d96a1f689ee126e974f8c8d15194a9d881075.tar.gz llvm-614d96a1f689ee126e974f8c8d15194a9d881075.tar.bz2 |
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
llvm-svn: 185818
Diffstat (limited to 'llvm/lib/Support/FileOutputBuffer.cpp')
0 files changed, 0 insertions, 0 deletions