aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaCodeComplete.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-11-17 17:14:07 +0000
committerDouglas Gregor <dgregor@apple.com>2010-11-17 17:14:07 +0000
commit6653798ff5ce6deb58112777e21307ccc453133d (patch)
tree2b4e077bca278663506bc796f0d3f8a7ae92fba3 /lib/Sema/SemaCodeComplete.cpp
parentdb85e058ed244931c81cefecbebf1a4a3030ea2d (diff)
When comparing the source range of a declaration against the region of
interest (e.g., as used by clang_getCursor()), count the decl-specifier-seq as part of the source range, as we do for clang_annotateTokens(). Makes clang_getCursor() work properly for the result types of functions, for example. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119514 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions