Argyrios Kyrtzidis
66c49f78a3
[index] Fix regression where ObjC method declarations may mistakenly get indexed as definition.
...
rdar://25372906
llvm-svn: 265042
2016-03-31 20:18:22 +00:00
Ben Langmuir
443913f4d6
[index] Remove redundancy between symbol kind and language
...
Condense the ObjCKIND and CXXKIND options into just KIND, since the
language was already specified on a per-symbol basis and this
information was redundant. This only changes the internal
representation; naturally the libclang interface remains the same.
llvm-svn: 264423
2016-03-25 17:01:59 +00:00
Argyrios Kyrtzidis
6377e4e09a
[index] Make sure that declarations of builtin functions are indexed.
...
rdar://25154630
llvm-svn: 263689
2016-03-17 04:28:19 +00:00
Argyrios Kyrtzidis
0ad65ac816
[index] Fix assertion hit when indexing re-declarations of built-in functions.
...
llvm-svn: 262984
2016-03-09 02:12:40 +00:00
Argyrios Kyrtzidis
7332106499
[index] Distinguish USRs of anonymous enums by using their first enumerator.
...
rdar://24609949.
llvm-svn: 262695
2016-03-04 07:17:53 +00:00
Argyrios Kyrtzidis
2682f9e5de
[index] Include parameter types in the USRs for C functions marked with 'overloadable' attribute.
...
llvm-svn: 262694
2016-03-04 07:17:48 +00:00
Argyrios Kyrtzidis
8757fc5594
[index] Ignore ObjCTypeParamDecls during indexing.
...
llvm-svn: 262686
2016-03-04 04:24:32 +00:00
Argyrios Kyrtzidis
34a0c1a572
[index] Report references of ObjC super class/protocols in interfaces and protocols.
...
llvm-svn: 262584
2016-03-03 05:33:54 +00:00
Argyrios Kyrtzidis
a8b51c1e20
[index] Add a caller relation for a call reference.
...
llvm-svn: 262207
2016-02-29 07:56:00 +00:00
Argyrios Kyrtzidis
c97c7c88c0
[AST/RecursiveASTVisitor] Correction so that dataTraverseStmtPost will get called after the statement has been visited.
...
Fixes the indexing client of this.
llvm-svn: 262206
2016-02-29 07:55:55 +00:00
Argyrios Kyrtzidis
d97ec18fe4
[index] Use ',' to separate symbol roles when printing.
...
llvm-svn: 262205
2016-02-29 07:55:51 +00:00
Argyrios Kyrtzidis
8756107f93
[test/Index] Set a specific target for the test.
...
llvm-svn: 260861
2016-02-14 22:38:38 +00:00
Argyrios Kyrtzidis
ca741cef3e
[index] Factor libclang's functionality to determing the mangled name of symbols into the clangIndex library.
...
llvm-svn: 260858
2016-02-14 22:30:14 +00:00
Argyrios Kyrtzidis
6fdcb9c590
[index] Enhance c-index-test tool and have it link and test the clangIndex library directly.
...
llvm-svn: 260842
2016-02-14 06:39:11 +00:00