summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-05-27 15:23:34 +0000
committerManuel Klimek <klimek@google.com>2013-05-27 15:23:34 +0000
commit9043c74f497bfbb8ee708f5aee6229b2f212bc0b (patch)
tree1f8b6362db892b94e13812ad57ca180dd70d982c /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent111bb2ef8d117e0a51bdfaaa6fe8c8f407141c08 (diff)
downloadbcm5719-llvm-9043c74f497bfbb8ee708f5aee6229b2f212bc0b.tar.gz
bcm5719-llvm-9043c74f497bfbb8ee708f5aee6229b2f212bc0b.zip
Major refactoring of BreakableToken.
Unify handling of whitespace when breaking protruding tokens with other whitespace replacements. As a side effect, the BreakableToken structure changed significantly: - have a common base class for single-line breakable tokens, as they are much more similar - revamp handling of multi-line comments; we now calculate the information about lines in multi-line comments similar to normal tokens, and always issue replacements As a result, we were able to get rid of special casing of trailing whitespace deletion for comments in the whitespace manager and the BreakableToken and fixed bugs related to tab handling and escaped newlines. llvm-svn: 182738
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud