llvm-project/clang/unittests/Format
Alexander Kornienko 67d9c8c87e 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

llvm-svn: 206472
2014-04-17 16:12:46 +00:00
..
CMakeLists.txt clang-format: Better support and testing for protocol buffers. 2014-01-19 09:04:08 +00:00
FormatTest.cpp Fix alignment of trailing block comments. 2014-04-17 16:12:46 +00:00
FormatTestJS.cpp clang-format: Let chromium style inherit google style's javascript tweaks. 2014-02-02 20:50:45 +00:00
FormatTestProto.cpp clang-format: Understand proto text format without commas. 2014-04-15 09:54:30 +00:00
FormatTestUtils.h Create a separate file for JS-specific unit tests. 2013-12-03 10:50:16 +00:00
Makefile [Driver] Refactor clang driver to use LLVM's Option library 2013-06-14 17:17:23 +00:00