]> granicus.if.org Git - clang/commit
[index] Index system ImportDecls even when there is a DeclarationsOnly filter
authorBen Langmuir <blangmuir@apple.com>
Thu, 14 Jul 2016 18:51:55 +0000 (18:51 +0000)
committerBen Langmuir <blangmuir@apple.com>
Thu, 14 Jul 2016 18:51:55 +0000 (18:51 +0000)
commit56d0aaf1e7d97762d51581c51853006c85cd2be1
tree539173ba9c5e752a80c51971d4873bce514653f2
parent93765edc0d08a18903dc68d98263ac7626701eb9
[index] Index system ImportDecls even when there is a DeclarationsOnly filter

Whether we call an ImportDecl a decl or a reference symbol role is
somewhat academic, but in practice it's more like a declaration because
it is interesting even to consumers who wouldn't care about references.
Most importantly, we want to report the module dependencies of system
modules even when we have declaration-only filtering.

rdar://problem/27134855

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275454 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Index/IndexingContext.cpp
test/Index/Core/index-with-module.m
test/Index/index-module.m