summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-01-19 00:34:46 +0000
committerDouglas Gregor <dgregor@apple.com>2010-01-19 00:34:46 +0000
commit33c34ac19afe3bc0de3ea64d589d5307af733f03 (patch)
tree4a0f7286034824a85f034df0ad3cdd4012492e62 /clang/lib/Driver/Driver.cpp
parent757daca99c9b005f1a54e6268cac877204ae968b (diff)
downloadbcm5719-llvm-33c34ac19afe3bc0de3ea64d589d5307af733f03.tar.gz
bcm5719-llvm-33c34ac19afe3bc0de3ea64d589d5307af733f03.zip
Implement clang_getCursorExtent, which provides a source range for the
cursor itself. In particular, for references this returns the source range of the reference rather than the source range of the thing it refers to. Switch c-index-test from clang_getDeclExtent (which will eventually be deprecated and removed) over to clang_getCursorExtent. The source ranges we print for references now make sense; fix up the tests appropriately. llvm-svn: 93823
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud