aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGDebugInfo.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
commita7bde20f8c6334ccc3a7ef4dd77243d0921a8497 (patch)
tree6c7f598dd9a98de2c102ab35bcdefda7f245d6e6 /lib/CodeGen/CGDebugInfo.cpp
parent17584204c2f527d4ed06ddb74afdd7622e70545d (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93823 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions