diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-28 15:06:27 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-28 15:06:27 +0000 |
| commit | 20c28bebf95fbc9bb5829d9224cea032c3903fe2 (patch) | |
| tree | 7f738d77636c4524e67d573b6f0788933473b661 /lldb/source/Commands/CommandObjectRegister.cpp | |
| parent | b027bd212b7faa541d8baaea45e2289d7250bb6d (diff) | |
| download | llvm-20c28bebf95fbc9bb5829d9224cea032c3903fe2.zip llvm-20c28bebf95fbc9bb5829d9224cea032c3903fe2.tar.gz llvm-20c28bebf95fbc9bb5829d9224cea032c3903fe2.tar.bz2 | |
Refactor comment merging.
- We scan for whitespace between comments anyways, remember any newlines seen
along the way.
- Use this newline number to decide whether two comments are adjacent.
- Since the newline check is now free remove the caching and unused code.
- Remove unnecessary boolean state from the comment list.
- No behavioral change.
llvm-svn: 191614
Diffstat (limited to 'lldb/source/Commands/CommandObjectRegister.cpp')
0 files changed, 0 insertions, 0 deletions
