commit | 2a9805d227375efd988522873d4edc282010baae | [log] [tgz] |
---|---|---|
author | Manuel Klimek <klimek@google.com> | Tue May 14 09:04:24 2013 +0000 |
committer | Manuel Klimek <klimek@google.com> | Tue May 14 09:04:24 2013 +0000 |
tree | 621cfa0874fadaebb667708ce25938f8976e0254 | |
parent | 748d38fcf762727e143ceb2352dc0dae56b34ffa [diff] |
Implement string literal breaking on unbreakable token sequences. This fixes indentation where there are for example multiple closing parentheses after a string literal, and where those parentheses run over the end of the line. During testing this revealed a bug in the implementation of breakProtrudingToken: we don't want to change the state if we didn't actually do anything. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181767 91177308-0d34-0410-b5e6-96231b3b80d8