diff options
| author | Manuel Klimek <klimek@google.com> | 2013-05-29 15:10:11 +0000 |
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2013-05-29 15:10:11 +0000 |
| commit | 9c333b9c6fa08a6b7169556a6d23dac8b47918c2 (patch) | |
| tree | 6c2b9ec0f3cb9bd568402ba7b052a5df5d471b90 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | b398701e4cbb9a55d90a60e3f4f4bc577446d098 (diff) | |
| download | clang-9c333b9c6fa08a6b7169556a6d23dac8b47918c2.tar.gz clang-9c333b9c6fa08a6b7169556a6d23dac8b47918c2.tar.bz2 clang-9c333b9c6fa08a6b7169556a6d23dac8b47918c2.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
