commit | 9c333b9c6fa08a6b7169556a6d23dac8b47918c2 | [log] [tgz] |
---|---|---|
author | Manuel Klimek <klimek@google.com> | Wed May 29 15:10:11 2013 +0000 |
committer | Manuel Klimek <klimek@google.com> | Wed May 29 15:10:11 2013 +0000 |
tree | 6c2b9ec0f3cb9bd568402ba7b052a5df5d471b90 | |
parent | b398701e4cbb9a55d90a60e3f4f4bc577446d098 [diff] |
Use a non-recursive implementation to reconstruct line breaks. Now that the TokenAnnotator does not require stack space anymore, reconstructing the lines has become the limiting factor. This patch fixes that problem, allowing large files with multiple megabytes of single unwrapped lines to be formatted. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182861 91177308-0d34-0410-b5e6-96231b3b80d8