llvm-project/clang/lib/Format
Alexander Kornienko 9e90b62e01 Unified token breaking logic: support for line comments.
Summary:
Added BreakableLineComment, moved common code from
BreakableBlockComment to newly added BreakableComment. As a side-effect of the
rewrite, found another problem with escaped newlines and had to change
code which removes trailing whitespace from line comments not to break after
this patch.

Reviewers: klimek, djasper

Reviewed By: klimek

CC: cfe-commits

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

llvm-svn: 179693
2013-04-17 17:34:05 +00:00
..
BreakableToken.cpp Unified token breaking logic: support for line comments. 2013-04-17 17:34:05 +00:00
BreakableToken.h Unified token breaking logic: support for line comments. 2013-04-17 17:34:05 +00:00
CMakeLists.txt Unified token breaking logic for strings and block comments. 2013-04-15 14:28:00 +00:00
Format.cpp Unified token breaking logic: support for line comments. 2013-04-17 17:34:05 +00:00
Makefile
TokenAnnotator.cpp Change clang-format's affinity for breaking after return types. 2013-04-11 14:29:13 +00:00
TokenAnnotator.h Fix labels with trailing comments and cleanup. 2013-04-10 09:49:49 +00:00
UnwrappedLineParser.cpp Revamps structural error detection / handling. 2013-04-12 14:13:36 +00:00
UnwrappedLineParser.h Unified token breaking logic: support for line comments. 2013-04-17 17:34:05 +00:00
WhitespaceManager.cpp Unified token breaking logic: support for line comments. 2013-04-17 17:34:05 +00:00
WhitespaceManager.h Unified token breaking logic: support for line comments. 2013-04-17 17:34:05 +00:00