]> granicus.if.org Git - clang/commit
Refactor datastructure used in clang-format.
authorDaniel Jasper <djasper@google.com>
Mon, 14 Jan 2013 13:08:07 +0000 (13:08 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 14 Jan 2013 13:08:07 +0000 (13:08 +0000)
commit995e8207877f6f5c8ed7d63f9b61e156dd171e50
tree9f193660f2577ef93b0ebe419b00dc254c46af9d
parent4abbb535f0f050aea6373e26e769643c3c61a9b1
Refactor datastructure used in clang-format.

Main difference, add an AnnotatedLine class to hold information about a
line while formatting. At the same time degrade the UnwrappedLine class
to a class solely used for communicating between the UnwrappedLineParser
and the Formatter.

No functional changes intended.

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