llvm-project/clang/lib/Format
Daniel Jasper a1036e5d08 clang-format: When a line is formatted, also format subsequence lines if their indent is off.
Summary: This is especially important so that if a change is solely inserting a block around a few statements, clang-format-diff.py will still clean up and add indentation to the inner parts.

Reviewers: klimek

Subscribers: cfe-commits, klimek

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

llvm-svn: 251474
2015-10-28 01:08:22 +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: Undo unwanted format change done in r251405. 2015-10-27 13:42:08 +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: Add an additional value to AlignAfterOpenBracket: AlwaysBreak. 2015-10-27 12:38:37 +00:00
FormatToken.cpp clang-format: Add an additional value to AlignAfterOpenBracket: AlwaysBreak. 2015-10-27 12:38:37 +00:00
FormatToken.h clang-format: Undo unwanted format change done in r251405. 2015-10-27 13:42:08 +00:00
Makefile
TokenAnnotator.cpp clang-format: Add an additional value to AlignAfterOpenBracket: AlwaysBreak. 2015-10-27 12:38:37 +00:00
TokenAnnotator.h clang-format: NFC. Add a function to test whether an annotated line 2015-06-17 09:43:56 +00:00
UnwrappedLineFormatter.cpp clang-format: When a line is formatted, also format subsequence lines if their indent is off. 2015-10-28 01:08:22 +00:00
UnwrappedLineFormatter.h clang-format: clang-format (NFC) 2015-06-17 13:08:06 +00:00
UnwrappedLineParser.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00
UnwrappedLineParser.h Roll-back r250822. 2015-10-20 13:23:58 +00:00
WhitespaceManager.cpp [clang-format] Stop alignment sequences on open braces and parens when 2015-10-07 15:03:26 +00:00
WhitespaceManager.h SourceRanges are small and trivially copyable, don't them by reference. 2015-10-04 04:53:55 +00:00