llvm-project/clang/lib/Format
Alexander Kornienko f370ad9055 Preserve newlines before block comments in static initializers.
Summary:
Basically, don't special-case line comments in this regard. And fixed
an incorrect test, that relied on the wrong behavior.

Reviewers: klimek

Reviewed By: klimek

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D962

llvm-svn: 183851
2013-06-12 19:04:12 +00:00
..
BreakableToken.cpp Insert a space at the start of a line comment in case it starts with an alphanumeric character. 2013-06-11 16:01:49 +00:00
BreakableToken.h Insert a space at the start of a line comment in case it starts with an alphanumeric character. 2013-06-11 16:01:49 +00:00
CMakeLists.txt Unified token breaking logic for strings and block comments. 2013-04-15 14:28:00 +00:00
Encoding.h UTF-8 support for clang-format. 2013-06-05 14:09:10 +00:00
Format.cpp Preserve newlines before block comments in static initializers. 2013-06-12 19:04:12 +00:00
FormatToken.h Improved handling of escaped newlines at the token start. 2013-06-07 17:45:07 +00:00
Makefile
TokenAnnotator.cpp Preserve newlines before block comments in static initializers. 2013-06-12 19:04:12 +00:00
TokenAnnotator.h UTF-8 support for clang-format. 2013-06-05 14:09:10 +00:00
UnwrappedLineParser.cpp Improve clang-format's error recovery. 2013-05-31 14:56:29 +00:00
UnwrappedLineParser.h Moved FormatToken to a separate header. 2013-06-03 16:45:03 +00:00
WhitespaceManager.cpp Insert a space at the start of a line comment in case it starts with an alphanumeric character. 2013-06-11 16:01:49 +00:00
WhitespaceManager.h Insert a space at the start of a line comment in case it starts with an alphanumeric character. 2013-06-11 16:01:49 +00:00