Argyrios Kyrtzidis
86f638558b
[index] Fix indexing of global variables from serialized module files.
2017-01-27 16:23:38 -08:00
Max Moiseev
90ef26824f
Merge remote-tracking branch 'origin/master' into new-integer-protocols
2017-01-26 15:28:42 -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
Erik Eckstein
1d3724666f
tests: convert about 400 tests to the new mangling by using the -new-mangling-for-tests option
...
When the new mangling is enabled permanently, the option can be removed from the RUN command lines again.
2017-01-24 15:27:45 -08:00
Argyrios Kyrtzidis
cfa1749836
[index] Report @IB and @GKInspectable properties in the index info.
2017-01-24 08:58:51 -08:00
Argyrios Kyrtzidis
703382701e
[index] Mark unit test methods if the class subclasses XCTestCase.
...
This takes advantage of semantic checking during indexing so that it is more accurate.
2017-01-24 02:30:29 -08:00
Max Moiseev
d128ed42b0
Merge remote-tracking branch 'origin/master' into new-integer-protocols
2017-01-19 14:16:32 -08:00
Max Moiseev
a167238d1d
Fixing more tests
2017-01-12 15:54:56 -08:00
Nathan Hawes
92f6d81455
[indexer] Fix incorrect RelationCalledBy for pseudo accessors
2017-01-11 16:07:09 -08:00
Argyrios Kyrtzidis
db8ec19f55
[index] Use the index symbol types and APIs from the clang header.
...
This avoids duplication and centralizes handling of symbols.
2017-01-10 14:49:07 -08:00
Nathan Hawes
fdc74b4578
[indexer] Add further tests for roles and relations
2017-01-06 18:17:10 -08:00
Nathan Hawes
4bc7435bb1
[indexer] provide names for pseudo accessors too
2017-01-06 14:26:12 -08:00
Nathan Hawes
8c45e20d3f
[indexer] Add relations to IndexSymbol add a -print-indexed-symbols option to swift-ide-test for testing
2017-01-05 15:01:53 -08:00