]> granicus.if.org Git - clang/commit
Merging r293134:
authorHans Wennborg <hans@hanshq.net>
Fri, 27 Jan 2017 16:56:16 +0000 (16:56 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 27 Jan 2017 16:56:16 +0000 (16:56 +0000)
commit7bf54fb33971d145af18ce1ed4b7344df1d8a26f
tree577ccdd61215a3657a2ccb9def252d2677079dbc
parent2d09298bee743db5a10a9c92791e43b6135f897e
Merging r293134:
------------------------------------------------------------------------
r293134 | akirtzidis | 2017-01-25 18:11:50 -0800 (Wed, 25 Jan 2017) | 4 lines

[index] When indexing an ObjC method declaration use its base name for the location.

Instead of using the location of the beginning '-'/'+'.
This is consistent with location used for function decls and ObjC method calls where we use the base name as the location as well.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@293303 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Index/IndexDecl.cpp
test/Index/Core/index-source.m
test/Index/Core/index-subkinds.m
test/Index/index-decls.m
test/Index/index-module.m
tools/libclang/CXIndexDataConsumer.cpp
tools/libclang/CXIndexDataConsumer.h