diff options
author | Krasimir Georgiev <krasimir@google.com> | 2017-01-25 13:58:58 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2017-01-25 13:58:58 +0000 |
commit | 91834227a3d58ecdb9e3f7300f587ab45c32ba06 (patch) | |
tree | ea69dbb58f44ddcc2ed095c59818658998aa5681 /llvm/lib/CodeGen/MachineDominators.cpp | |
parent | f242ffa09581e22dfd3207223ca4e4d3e9327bff (diff) | |
download | llvm-91834227a3d58ecdb9e3f7300f587ab45c32ba06.zip llvm-91834227a3d58ecdb9e3f7300f587ab45c32ba06.tar.gz llvm-91834227a3d58ecdb9e3f7300f587ab45c32ba06.tar.bz2 |
[clang-format] Implement comment reflowing.
Summary:
This presents a version of the comment reflowing with less mutable state inside
the comment breakable token subclasses. The state has been pushed into the
driving breakProtrudingToken method. For this, the API of BreakableToken is enriched
by the methods getSplitBefore and getLineLengthAfterSplitBefore.
Reviewers: klimek
Reviewed By: klimek
Subscribers: djasper, klimek, mgorny, cfe-commits, ioeric
Differential Revision: https://reviews.llvm.org/D28764
llvm-svn: 293055
Diffstat (limited to 'llvm/lib/CodeGen/MachineDominators.cpp')
0 files changed, 0 insertions, 0 deletions