commit | ed51c02f4c87ddb2d2f45193e4041921ac363f76 | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Fri Aug 23 10:05:49 2013 +0000 |
committer | Daniel Jasper <djasper@google.com> | Fri Aug 23 10:05:49 2013 +0000 |
tree | 145f13ac6960ec597e557d9205a2467c0f22d0b3 | |
parent | 034457d1b022decb5bac4315ea6839025eab4634 [diff] |
clang-format: Handle trailing commas in column layout of braced list. Before, this was causing errors. Also exit early in breakProtrudingToken() (before the expensive call to SourceManager::getSpellingColumnNumber()). This makes formatting huge (100k+-item) braced lists possible. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189094 91177308-0d34-0410-b5e6-96231b3b80d8