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 | 5c24cca0f043fe7ba0423dc0df2f2eedbd58f0a8 (patch) | |
| tree | 6e6766fd4dc99dcb43e89c4cc50bfc363e6ccfcb /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | bb12f840b50a5759cf9eb30b96c94f5383943e1d (diff) | |
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.
llvm-svn: 182572
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
