llvm-project/clang/lib/Index
Haojian Wu bb9e92bad5 [clang][Index] Fix the incomplete instantiations in libindex.
Summary:
libindex will canonicalize references to template instantiations:
- 1) reference to an explicit template specialization, report the specializatiion
- 2) otherwise, report the primary template

but 2) is not true for incomplete instantiations, this patch fixes this.

Fixes https://github.com/clangd/clangd/issues/287

Reviewers: kadircet

Subscribers: ilya-biryukov, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74830
2020-02-20 14:42:30 +01:00
..
CMakeLists.txt [clang][Index] Replace CodegenNameGenerator with ASTNameGenerator 2019-09-05 20:33:52 +00:00
CommentToXML.cpp [Wdocumentation] Implement \anchor 2019-12-21 14:52:21 +01:00
FileIndexRecord.cpp Change std::{lower,upper}_bound to llvm::{lower,upper}_bound or llvm::partition_point. NFC 2019-07-03 08:13:17 +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 [NFC] Remove trailing space 2020-02-18 10:49:13 +08:00
IndexSymbol.cpp [clang][Index] Introduce a TemplateParm SymbolKind 2020-02-14 13:20:34 +01:00
IndexTypeSourceInfo.cpp [clang][index] Index the injected class name types. 2020-01-22 10:07:54 +01:00
IndexingAction.cpp [NFC] Fix typos in Clangd and Clang 2019-12-16 10:54:40 +01:00
IndexingContext.cpp [clang][Index] Fix the incomplete instantiations in libindex. 2020-02-20 14:42:30 +01: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 Remove Expr.h include from ASTContext.h, NFC 2019-12-06 15:30:49 -08:00