hanchenye-llvm-project/clang/lib/Format
Marianne Mailhot-Sarrasin 03137c6538 clang-format: Last line in incomplete block is indented incorrectly
Indentation of the last line was reset to the initial indentation of the block when reaching EOF.

Patch by Maxime Beaulieu

Differential Revision: http://reviews.llvm.org/D19065

llvm-svn: 266321
2016-04-14 14:56:49 +00:00
..
BreakableToken.cpp clang-format: clang-format (NFC) 2015-06-17 13:08:06 +00:00
BreakableToken.h Roll-back r250822. 2015-10-20 13:23:58 +00:00
CMakeLists.txt clang-format: Factor out UnwrappedLineFormatter into a separate file. 2014-12-10 19:00:42 +00:00
ContinuationIndenter.cpp clang-format: Slightly weaken AlignAfterOpenBracket=AlwaysBreak. 2016-03-17 12:00:22 +00:00
ContinuationIndenter.h [clang-format] Use in-class initializers to simplify constructor. 2015-06-12 14:39:08 +00:00
Encoding.h clang-format: Fix crasher when a UTF8 character is found in an escape 2015-07-20 23:28:07 +00:00
Format.cpp clang-format: Implemented tab usage for continuation and indentation 2016-04-14 14:52:26 +00:00
FormatToken.cpp Enable support for __float128 in Clang 2016-04-13 09:49:45 +00:00
FormatToken.h clang-format: [JS] do not wrap ES6 imports/exports. 2016-03-22 14:32:20 +00:00
TokenAnnotator.cpp clang-format: Fix incorrect function annotation detection. 2016-04-06 13:58:09 +00:00
TokenAnnotator.h Support AlwaysBreakAfterReturnType 2015-12-18 22:20:15 +00:00
UnwrappedLineFormatter.cpp clang-format: Don't format unrelated nested blocks. 2016-02-29 12:26:20 +00:00
UnwrappedLineFormatter.h clang-format: clang-format (NFC) 2015-06-17 13:08:06 +00:00
UnwrappedLineParser.cpp clang-format: Last line in incomplete block is indented incorrectly 2016-04-14 14:56:49 +00:00
UnwrappedLineParser.h clang-format: [JS] Handle certain cases of ASI. 2016-03-14 19:21:36 +00:00
WhitespaceManager.cpp clang-format: Implemented tab usage for continuation and indentation 2016-04-14 14:52:26 +00:00
WhitespaceManager.h [clang-format] Fix comment aligning when there are changes within the comment 2016-01-11 16:27:16 +00:00