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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D14105
clang-format: When a line is formatted, also format subsequence lines if their indent is off. ClosedPublic Authored by djasper on Oct 26 2015, 9:20 PM.
Details 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.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 27 2015, 6:03 PM Closed by commit rL251474: clang-format: When a line is formatted, also format subsequence lines if… (authored by djasper). · Explain WhyOct 27 2015, 6:10 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 38616 cfe/trunk/lib/Format/UnwrappedLineFormatter.cpp
cfe/trunk/test/Format/adjust-indent.cpp
cfe/trunk/test/Format/line-ranges.cpp
cfe/trunk/test/Format/ranges.cpp
cfe/trunk/unittests/Format/FormatTestSelective.cpp
|