diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-05-22 15:42:45 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-05-22 15:42:45 +0000 |
commit | 15b4f09a3358c00571527bf26e9f31f942b50713 (patch) | |
tree | f8553d8f3f062f8c9196f776c3acc61afed821d2 /test/Index/Core/index-source.cpp | |
parent | e86bb98b9e798be5ffa8b045fa9a381bebc89a35 (diff) | |
download | clang-15b4f09a3358c00571527bf26e9f31f942b50713.tar.gz |
[index] Index the deleted functions
rdar://32323386
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@303563 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/Core/index-source.cpp')
-rw-r--r-- | test/Index/Core/index-source.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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 | <no-cgname> | 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 | <no-cgname> | Ref,RelCont | rel: 1 +// CHECK: [[@LINE-4]]:3 | struct/C++ | DeletedMethods | c:@S@DeletedMethods | <no-cgname> | Ref,RelCont | rel: 1 +}; |