aboutsummaryrefslogtreecommitdiff
path: root/test/Index/load-namespaces.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-11-10 05:40:41 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-11-10 05:40:41 +0000
commit826faa22bae112e01293a58534a40711043cce65 (patch)
tree8e8e2eeea405146cf6260866f7b66287e7e3cb74 /test/Index/load-namespaces.cpp
parent021aaa4f6b86bc9e2801f3475d1ec3dd7bc008c7 (diff)
Replace UsingDecl's SmallPtrSet of UsingShadowDecls with a linked list to avoid leaking memory.
Fixes rdar://8649963. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118674 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/load-namespaces.cpp')
-rw-r--r--test/Index/load-namespaces.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Index/load-namespaces.cpp b/test/Index/load-namespaces.cpp
index 31e2fce735..931a1dc79d 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[10:8, 19:7] Extent=[22:1 - 22:13]
+// CHECK: load-namespaces.cpp:22:12: UsingDeclaration=g[19:7, 10:8] 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]