Add libclang support for namespace aliases (visitation + USRs) along
authorDouglas Gregor <dgregor@apple.com>
Tue, 31 Aug 2010 23:48:11 +0000 (23:48 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 31 Aug 2010 23:48:11 +0000 (23:48 +0000)
commita89314e396bda8b7c0f9b3e7a9d9a014b7beef0c
tree4cc7ea5e8e28aa730b5b46dbf8b73593e39684f7
parent52bd0dc3bb7d3e1a30c38d3ec7e5c33e49ff3080
Add libclang support for namespace aliases (visitation + USRs) along
with a new cursor kind for a reference to a namespace.

There's still some oddities in the source location information for
NamespaceAliasDecl that I'll address with a separate commit, so the
source locations displayed in the load-namespaces.cpp test will
change.

llvm-svn: 112676
clang/include/clang-c/Index.h
clang/test/Index/load-namespaces.cpp
clang/test/Index/usrs.cpp
clang/tools/libclang/CIndex.cpp
clang/tools/libclang/CIndexUSRs.cpp
clang/tools/libclang/CXCursor.cpp
clang/tools/libclang/CXCursor.h