diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-09-13 22:52:57 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-09-13 22:52:57 +0000 |
commit | 1f60d9ea523fc321d811fe880ba9a1ec74fa8f9b (patch) | |
tree | 0573659048cae0b5bc818e56867a465458899703 /test/Index/load-namespaces.cpp | |
parent | dacd24775d9654c3fe5dc2a01640c2b2aab2bead (diff) |
Introduce a new kind of cursor into libclang, which covers a reference
to an "overloaded" set of declarations. This cursor kind works for
unresolved references to functions/templates (e.g., a call within a
template), using declarations, and Objective-C class and protocol
forward declarations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113805 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/load-namespaces.cpp')
-rw-r--r-- | test/Index/load-namespaces.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Index/load-namespaces.cpp b/test/Index/load-namespaces.cpp index 241e2413a7..31e2fce735 100644 --- a/test/Index/load-namespaces.cpp +++ b/test/Index/load-namespaces.cpp @@ -41,7 +41,7 @@ namespace my_rel_ops = std::rel_ops; // CHECK: load-namespaces.cpp:18:11: Namespace=std:18:11 (Definition) Extent=[18:11 - 20:2] // CHECK: load-namespaces.cpp:19:7: FunctionDecl=g:19:7 Extent=[19:7 - 19:13] // CHECK: load-namespaces.cpp:19:12: ParmDecl=:19:12 (Definition) Extent=[19:9 - 19:13] -// CHECK: load-namespaces.cpp:22:12: UsingDeclaration=g:22:12 Extent=[22:1 - 22:13] +// CHECK: load-namespaces.cpp:22:12: UsingDeclaration=g[10:8, 19:7] Extent=[22:1 - 22:13] // CHECK: load-namespaces.cpp:22:7: NamespaceRef=std:18:11 Extent=[22:7 - 22:10] // CHECK: load-namespaces.cpp:24:11: FunctionDecl=g:24:11 (Definition) Extent=[24:11 - 25:2] // CHECK: load-namespaces.cpp:24:6: NamespaceRef=std:18:11 Extent=[24:6 - 24:9] |