]> granicus.if.org Git - clang/commit
[index] Update indexing to handle CXXDeductionGuideDecls properly
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 15 Aug 2017 17:20:37 +0000 (17:20 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 15 Aug 2017 17:20:37 +0000 (17:20 +0000)
commit5280dab80aa7e4fb0468730d88604a67efb7ac60
treebac92635e22429271a25f19c350456f4cd4dca74
parentabc35c84541476ad090cb6e764e75ad2127f4c6e
[index] Update indexing to handle CXXDeductionGuideDecls properly

CXXDeductionGuideDecls can't be referenced so there's no need to output a symbol occurrence for them.
Also handle DeducedTemplateSpecializationTypeLocs in the TypeIndexer so we don't miss the symbol occurrences of the corresponding template decls.

Patch by Nathan Hawes!

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310933 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Index/IndexDecl.cpp
lib/Index/IndexTypeSourceInfo.cpp
lib/Index/IndexingContext.cpp
test/Index/Core/index-source.cpp