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/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp | |
parent | b027bd212b7faa541d8baaea45e2289d7250bb6d (diff) | |
download | bcm5719-llvm-20c28bebf95fbc9bb5829d9224cea032c3903fe2.tar.gz bcm5719-llvm-20c28bebf95fbc9bb5829d9224cea032c3903fe2.zip |
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/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
0 files changed, 0 insertions, 0 deletions