summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-09-28 15:06:27 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-09-28 15:06:27 +0000
commit42572f532b99230bf7aa3e3593a0fbb1174bce7c (patch)
tree57af50f1619fc36e17649e737ed45a8509254e65 /lib/CodeGen/CGExpr.cpp
parent5c805e92a5f70a913bc3bfcd15c44875974c2111 (diff)
downloadclang-42572f532b99230bf7aa3e3593a0fbb1174bce7c.tar.gz
clang-42572f532b99230bf7aa3e3593a0fbb1174bce7c.tar.bz2
clang-42572f532b99230bf7aa3e3593a0fbb1174bce7c.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions