]> granicus.if.org Git - clang/commit
Refactor the formatter of clang-format.
authorManuel Klimek <klimek@google.com>
Mon, 11 May 2015 08:21:35 +0000 (08:21 +0000)
committerManuel Klimek <klimek@google.com>
Mon, 11 May 2015 08:21:35 +0000 (08:21 +0000)
commit8fd433b059b13f58a08b7ca94439e58d4cd64aab
tree57fffce691665575f1c78ecb462a602277d5f3ab
parent35ec179e2b2b5c10b7aca77e565853a5a4c447e3
Refactor the formatter of clang-format.

Pull various parts of the UnwrappedLineFormatter into their own
abstractions. NFC.

There are two things left for subsequent changes (to keep this
reasonably small)
- the UnwrappedLineFormatter now has a bad name
- the UnwrappedLineFormatter::format function is still too large

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236974 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/Format.cpp
lib/Format/UnwrappedLineFormatter.cpp
lib/Format/UnwrappedLineFormatter.h