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 | 16a2bdd6b011e4522463ae162625712f1764cb1c (patch) | |
tree | f60b6dc514026a6dc27ab1f9460cb6e891cc118c /clang/test/Index/load-namespaces.cpp | |
parent | 59c97b50ae56b69d42cdecd94818ef0c1e317393 (diff) | |
download | bcm5719-llvm-16a2bdd6b011e4522463ae162625712f1764cb1c.tar.gz bcm5719-llvm-16a2bdd6b011e4522463ae162625712f1764cb1c.zip |
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.
llvm-svn: 113805
Diffstat (limited to 'clang/test/Index/load-namespaces.cpp')
-rw-r--r-- | clang/test/Index/load-namespaces.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Index/load-namespaces.cpp b/clang/test/Index/load-namespaces.cpp index 241e2413a7a..31e2fce735d 100644 --- a/clang/test/Index/load-namespaces.cpp +++ b/clang/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] |