llvm-project/clang/lib/Index
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
..
CMakeLists.txt [clang][index-while-building] FileIndexRecord 2019-02-27 21:47:40 +00:00
CodegenNameGenerator.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CommentToXML.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FileIndexRecord.cpp [clang][index-while-building][NFC] Comment about implementation detail in FileIndexRecord 2019-02-28 01:12:27 +00:00
FileIndexRecord.h [clang][index-while-building][NFC] FileIndexRecord - Comments, replace auto with type 2019-02-27 21:48:02 +00:00
IndexBody.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IndexDecl.cpp [clang][Index] Mark references from Constructors and Destructors to class as NameReference 2019-03-08 08:30:20 +00:00
IndexSymbol.cpp [clang][Index] Mark references from Constructors and Destructors to class as NameReference 2019-03-08 08:30:20 +00:00
IndexTypeSourceInfo.cpp [clang][Index] Enable indexing of Template Type Parameters behind a flag 2019-02-21 09:52:33 +00:00
IndexingAction.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IndexingContext.cpp [clang][Index] Mark references from Constructors and Destructors to class as NameReference 2019-03-08 08:30:20 +00:00
IndexingContext.h [clang][Index] Enable indexing of Template Type Parameters behind a flag 2019-02-21 09:52:33 +00:00
SimpleFormatContext.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
USRGeneration.cpp [clang][Index] Visit UsingDecls and generate USRs for them 2019-02-26 14:23:12 +00:00