summaryrefslogtreecommitdiffstats
path: root/test/Index/index-module.m
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2017-01-27 16:56:16 +0000
committerHans Wennborg <hans@hanshq.net>2017-01-27 16:56:16 +0000
commit7bf54fb33971d145af18ce1ed4b7344df1d8a26f (patch)
tree577ccdd61215a3657a2ccb9def252d2677079dbc /test/Index/index-module.m
parent2d09298bee743db5a10a9c92791e43b6135f897e (diff)
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
Diffstat (limited to 'test/Index/index-module.m')
-rw-r--r--test/Index/index-module.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Index/index-module.m b/test/Index/index-module.m
index d1c0b36b38..51faea2d32 100644
--- a/test/Index/index-module.m
+++ b/test/Index/index-module.m
@@ -52,7 +52,7 @@ int glob;
// CHECK-TMOD-NEXT: [indexDeclaration]: kind: objc-class | name: Module | {{.*}} | loc: [[TMOD_MODULE_H]]:15:12
// CHECK-TMOD-NEXT: <ObjCContainerInfo>: kind: interface
// CHECK-TMOD-NEXT: [indexDeclaration]: kind: objc-class-method | name: version | {{.*}} | loc: [[TMOD_MODULE_H]]:16:1
-// CHECK-TMOD-NEXT: [indexDeclaration]: kind: objc-class-method | name: alloc | {{.*}} | loc: [[TMOD_MODULE_H]]:17:1
+// CHECK-TMOD-NEXT: [indexDeclaration]: kind: objc-class-method | name: alloc | {{.*}} | loc: [[TMOD_MODULE_H]]:17:2
// CHECK-TMOD-NEXT: [indexDeclaration]: kind: typedef | name: FILE | {{.*}} | loc: [[TMOD_MODULE_H]]:30:3
// CHECK-TMOD-NEXT: [indexDeclaration]: kind: struct | name: __sFILE | {{.*}} | loc: [[TMOD_MODULE_H]]:28:16
// CHECK-TMOD-NEXT: [indexDeclaration]: kind: field | name: _offset | {{.*}} | loc: [[TMOD_MODULE_H]]:29:7