llvm-project/clang/unittests
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
..
AST ASTTests//EvaluateAsRValueTest.cpp: Appease *-win32 target to add -fno-delayed-template-parsing. 2014-03-15 00:36:51 +00:00
ASTMatchers Add support for named values in the parser. 2014-04-14 13:51:21 +00:00
Basic Check for LLVM_ON_WIN32 instead of _WIN32. 2014-03-12 16:07:46 +00:00
Driver [cleanup] Re-sort includes with llvm/utils/sort_includes.py and fix 2014-03-04 10:05:20 +00:00
Format Fix alignment of trailing block comments. 2014-04-17 16:12:46 +00:00
Frontend ASTContext: Declare builtin types implicitly 2013-12-15 10:36:26 +00:00
Lex Sort all the #include lines with LLVM's utils/sort_includes.py which 2014-01-07 11:51:46 +00:00
Sema Replace OwningPtr with std::unique_ptr. 2014-03-07 20:03:18 +00:00
Tooling Check for LLVM_ON_WIN32 instead of _WIN32. 2014-03-12 16:07:46 +00:00
libclang When writing YAML in libclang, use yaml::escape instead of write_escaped 2014-04-17 03:31:02 +00:00
CMakeLists.txt libclang: fix a bug in processing invalid arguments, introduced in r201249 2014-02-18 15:20:02 +00:00
Makefile libclang: fix a bug in processing invalid arguments, introduced in r201249 2014-02-18 15:20:02 +00:00