[clang][Index] Visit UsingDecls and generate USRs for them
authorKadir Cetinkaya <kadircet@google.com>
Tue, 26 Feb 2019 14:23:12 +0000 (14:23 +0000)
committerKadir Cetinkaya <kadircet@google.com>
Tue, 26 Feb 2019 14:23:12 +0000 (14:23 +0000)
commita87ada0dad8084ef83001cd8bab1a44da0ba8af9
tree7b8f12c7a488ad911a43e5eb8bba8dda485e533c
parentc032e2ab7cda80a2b68345801162746eb48770c0
[clang][Index] Visit UsingDecls and generate USRs for them

Summary:
Add indexing of UsingDecl itself.
Also enable generation of USRs for UsingDecls, using the qualified name of the
decl.

Reviewers: ilya-biryukov, akyrtzi

Subscribers: arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58340

llvm-svn: 354878
clang/lib/Index/IndexDecl.cpp
clang/lib/Index/IndexSymbol.cpp
clang/lib/Index/USRGeneration.cpp
clang/test/Index/usrs.cpp
clang/unittests/Index/IndexTests.cpp