diff options
| author | Manuel Klimek <klimek@google.com> | 2013-05-27 15:23:34 +0000 |
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2013-05-27 15:23:34 +0000 |
| commit | de008c0f3bf66103185fc9f7f49995fa431451a6 (patch) | |
| tree | 14f67b12393194e02efbb38e4f9280663ea660c8 /lib/CodeGen/CGExpr.cpp | |
| parent | bdf2bba1cb8c6347f43a3caa36e801b1d86450d0 (diff) | |
| download | clang-de008c0f3bf66103185fc9f7f49995fa431451a6.tar.gz clang-de008c0f3bf66103185fc9f7f49995fa431451a6.tar.bz2 clang-de008c0f3bf66103185fc9f7f49995fa431451a6.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
