diff options
| author | Manuel Klimek <klimek@google.com> | 2013-05-23 10:56:37 +0000 |
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2013-05-23 10:56:37 +0000 |
| commit | ad3094b7d85a4f8eeaf3f60364d5e8796537f061 (patch) | |
| tree | 75c1cb5501de785157b2212328229eb92f38b06d /lib/CodeGen/CGExprAgg.cpp | |
| parent | 2424eefa6936ec2dc35188e19c99e2f85428b52e (diff) | |
| download | clang-ad3094b7d85a4f8eeaf3f60364d5e8796537f061.tar.gz clang-ad3094b7d85a4f8eeaf3f60364d5e8796537f061.tar.bz2 clang-ad3094b7d85a4f8eeaf3f60364d5e8796537f061.tar.xz | |
Use a SourceRange for the whitespace location in FormatToken.
Replaces the use of WhitespaceStart + WhitspaceLength.
This made a bug in the formatter obvous where we would incorrectly
calculate the next column.
FIXME: There's a similar bug left regarding TokenLength. We should
probably also move to have a TokenRange instead.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182572 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
