]> granicus.if.org Git - clang/commit
[index] When indexing an ObjC method declaration use its base name for the location.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 26 Jan 2017 02:11:50 +0000 (02:11 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 26 Jan 2017 02:11:50 +0000 (02:11 +0000)
commit9a249fca06329604bad93e4f55af0e5f7139434d
tree8ad28118a8d7e625a4066bb4b2d768eb07f3591f
parent259e80157ea03673a6d5b48f5e5d6ebb611afdf3
[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/trunk@293134 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