HomePhabricator

[clang][Index] Mark references from Constructors and Destructors to class as…

Description

[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

Details

Committed
kadircetMar 8 2019, 12:30 AM
Reviewer
gribozavr
Differential Revision
D58814: [clang][Index] Mark references from Constructors and Destructors to class as NameReference
Branches
Unknown
Tags
Unknown