Ben Langmuir
9fcb5ac6d8
[test] Update cross_langauge index test for mangling change
2020-10-28 13:07:37 -07:00
Nathan Hawes
8b03b05f1d
[Index] Add index support for cross import overlays.
...
Resolves rdar://problem/59445445
2020-03-25 10:04:41 -07:00
Argyrios Kyrtzidis
24a7620a9b
[test/Index] Add a test case for cross-language USR generation fix on the clang side
...
This is a Swift-side test case for https://github.com/apple/llvm-project/pull/887
Ensures Swift and Clang are in-sync on the USRs for exported properties.
2020-03-12 09:58:17 -07:00
Rintaro Ishizaki
5405a159df
Revert "[test/Index] Add a test case for cross-language USR generation fix on the clang side"
2020-03-10 10:41:25 -07:00
Argyrios Kyrtzidis
1082678493
[test/Index] Add a test case for cross-language USR generation fix on the clang side
...
This is a Swift-side test case for https://github.com/apple/llvm-project/pull/887
Ensures Swift and Clang are in-sync on the USRs for exported properties.
2020-03-09 22:55:28 -07:00
Jordan Rose
02e1a11e35
[Index] Don't index non-public imported declarations ( #25865 )
...
Apart from mildly speeding up indexing, this also keeps the compiler
from running into issues with implementation-only imports that may not
be present while we're trying to index.
rdar://problem/52083709
2019-06-28 16:57:29 -07:00
Argyrios Kyrtzidis
f5b46fb212
[test/index] Update test case for upstream change
2018-08-26 10:22:56 -07:00
Argyrios Kyrtzidis
40c89048ba
[index] Make sure that we index implicit constructors
...
These can be explicitely referenced so we should index their definitions as well
2017-04-29 19:14:03 -07:00
Argyrios Kyrtzidis
093e826f92
[index] Use a #pragma to apply module namespacing for exported ObjC header and match Swift namespaced USRs with the clang side
2017-04-24 14:02:16 -07:00
Argyrios Kyrtzidis
a3919f5352
[index] Add testing for indexing a system overlay module, along with fine-grained control on the relations we want to index.
2017-01-31 11:14:21 -08:00
Nathan Hawes
8ccccc6f74
[indexer] Fix crash in initVarRefIndexSymbols by handling func/var references in ImportDecls
...
IndexSwiftASTWalker::initVarRefIndexSymbols wasn't handling getCurrentExpr() returning a nullptr
as it does when processing a reference to someVar in the below import:
import var SomeModule.someVar
This patch fixes rdar://problem/30118572 and adds tests for import var/func references.
2017-01-26 09:15:42 -08:00