From 15b4f09a3358c00571527bf26e9f31f942b50713 Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Mon, 22 May 2017 15:42:45 +0000 Subject: [index] Index the deleted functions rdar://32323386 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@303563 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Index/Core/index-source.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/Index/Core/index-source.cpp') diff --git a/test/Index/Core/index-source.cpp b/test/Index/Core/index-source.cpp index 5f2044e803..e5f58d1e4e 100644 --- a/test/Index/Core/index-source.cpp +++ b/test/Index/Core/index-source.cpp @@ -366,3 +366,11 @@ struct IndexDefaultValue { // CHECK: [[@LINE-2]]:30 | struct/C++ | Record | c:@S@Record | | Ref,RelCont | rel: 1 } }; + +struct DeletedMethods { + DeletedMethods(const DeletedMethods &) = delete; +// CHECK: [[@LINE-1]]:3 | constructor/cxx-copy-ctor/C++ | DeletedMethods | c:@S@DeletedMethods@F@DeletedMethods#&1$@S@DeletedMethods# | __ZN14DeletedMethodsC1ERKS_ | Def,RelChild | rel: 1 +// CHECK: RelChild | DeletedMethods | c:@S@DeletedMethods +// CHECK: [[@LINE-3]]:24 | struct/C++ | DeletedMethods | c:@S@DeletedMethods | | Ref,RelCont | rel: 1 +// CHECK: [[@LINE-4]]:3 | struct/C++ | DeletedMethods | c:@S@DeletedMethods | | Ref,RelCont | rel: 1 +}; -- cgit v1.2.1