commit | 26f7e78018ed6ce8aa11b5eef94c772ca4ee48bf | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Tue Jan 08 14:56:18 2013 +0000 |
committer | Daniel Jasper <djasper@google.com> | Tue Jan 08 14:56:18 2013 +0000 |
tree | f627e70e015c8f988ebf0258fe99caaa07f25324 | |
parent | f8a6cb1f755fe1530a0fcdf3c4cb1706d7fce822 [diff] |
Change the data structure used in clang-format. This is a first step towards supporting more complex structures such as #ifs inside unwrapped lines. This patch mostly converts the array-based UnwrappedLine into a linked-list-based UnwrappedLine. Future changes will allow multiple children for each Token turning the UnwrappedLine into a tree. No functional changes intended. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171856 91177308-0d34-0410-b5e6-96231b3b80d8