llvm-project/clang/test/Index/Core
Kadir Cetinkaya e7eb27a9a0 [clang][Index] Mark references from Constructors and Destructors to class as NameReference
Summary:
In current indexing logic we get references to class itself when we see
a constructor/destructor which is only syntactically true. Semantically
this information is not correct. This patch marks that reference as
NameReference to let clients deal with it.

Reviewers: akyrtzi, gribozavr, nathawes, benlangmuir

Reviewed By: gribozavr, nathawes

Subscribers: nathawes, arphaman, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58814

llvm-svn: 355668
2019-03-08 08:30:20 +00:00
..
Inputs [index] Enhance indexing for module references 2018-09-18 15:02:56 +00:00
designated-inits.c
external-source-symbol-attr.m [index] Introduce 'ProtocolInterface' as part of SymbolPropertySet 2018-08-26 06:27:23 +00:00
index-dependent-source.cpp [index] Add indexing for unresolved-using declarations 2017-08-16 23:12:21 +00:00
index-instantiated-source.cpp [index] The references to enum constants from member enums that are 2017-05-23 16:47:01 +00:00
index-macros.c Try to fix build bot after r336524 2018-07-09 09:17:25 +00:00
index-pch.c [c-index-test] Provide capability for 'c-index-test core' to dump symbol information from a PCH/module file. 2017-01-29 04:50:35 +00:00
index-pch.cpp [index] Fix crash when indexing a C++14 PCH/module related to TemplateTemplateParmDecls of alias templates 2018-01-26 19:26:12 +00:00
index-source-invalid-name.cpp [index] Don't add relation to a NamedDecl with no name 2017-07-12 22:05:30 +00:00
index-source.cpp [clang][Index] Mark references from Constructors and Destructors to class as NameReference 2019-03-08 08:30:20 +00:00
index-source.m [index] Introduce 'ProtocolInterface' as part of SymbolPropertySet 2018-08-26 06:27:23 +00:00
index-source.mm
index-subkinds.m [index] Mark categories of test classes with the 'UnitTest' symbol property as well. 2017-03-07 09:38:08 +00:00
index-system.mm [index] When indexing system headers make sure to report important reference relations 2017-03-23 16:34:47 +00:00
index-with-module.m [index] Enhance indexing for module references 2018-09-18 15:02:56 +00:00
no-templated-canonical-decl.cpp [Index] Prevent canonical decl becoming nullptr 2017-07-18 07:20:53 +00:00