summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/Parser.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-01-12 21:58:20 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-01-12 21:58:20 +0000
commitc81c8c66d5046732a6b64a166b829ae12e787664 (patch)
tree329afea330a187d8318a014e51f73914123c10e0 /clang/lib/Parse/Parser.cpp
parentab12361c4e4b6bdd5651465b9d5e955699e3e9d4 (diff)
downloadbcm5719-llvm-c81c8c66d5046732a6b64a166b829ae12e787664.tar.gz
bcm5719-llvm-c81c8c66d5046732a6b64a166b829ae12e787664.zip
[CodeView] Initialize column-end to zero
CodeView, unlike DWARF, can associate code with a range of columns. However, LLVM can only represent a single column position internally. We used to claim that the end column and start column were the same which yielded less than satisfactory results: we would stop printing at the _beginning_ of the source expression! Instead, mark the column-end as 'zero' to indicate that we don't have one (as per the documentation for IDiaLineNumber::get_lineNumberEnd). llvm-svn: 257528
Diffstat (limited to 'clang/lib/Parse/Parser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud