llvm-project/clang/test/Index/Core
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
..
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 [clang][Index] Fix the incomplete instantiations in libindex. 2020-02-20 14:42:30 +01:00
index-macros.c Try to fix build bot after r336524 2018-07-09 09:17:25 +00:00
index-pch.c
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-source.cpp [clang][Index] Fix the incomplete instantiations in libindex. 2020-02-20 14:42:30 +01: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-system.mm
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