Implement libclang support for using directives (cursor + visitation +
suppressing USRs). Also, fix up the source location information for
using directives so that the declaration location refers to the
namespace name.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112693 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Index/usrs.cpp b/test/Index/usrs.cpp
index 3f50ea2..cacfdf2 100644
--- a/test/Index/usrs.cpp
+++ b/test/Index/usrs.cpp
@@ -57,6 +57,8 @@
namespace foo_alias = foo;
+using namespace foo;
+
// RUN: c-index-test -test-load-source-usrs all %s | FileCheck %s
// CHECK: usrs.cpp c:@N@foo Extent=[1:11 - 4:2]
// CHECK: usrs.cpp c:@N@foo@x Extent=[2:3 - 2:8]