[index] tag declarations should use the decl role instead of ref
authorAlex Lorenz <arphaman@gmail.com>
Thu, 9 Nov 2017 20:50:59 +0000 (20:50 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 9 Nov 2017 20:50:59 +0000 (20:50 +0000)
commit41856684c143d96631ca60614830e8b9a075f8e4
treedda1733719b501c7cc7cac4b81e281b197b3c2ab
parent947838c9c5a9dcbff46c9f380ce947db86238d89
[index] tag declarations should use the decl role instead of ref

The 'decl' role is more canonical than the 'ref'. This helps us establish the
'specialization-of' relation just by looking at decls or defs.

rdar://31884960

llvm-svn: 317832
clang/lib/Index/IndexDecl.cpp
clang/test/Index/Core/index-source.cpp