Alex Lorenz
a352ba0cbe
[index] The relation between the declarations in template specializations
...
that 'override' declarations in the base template should be recorded
This can be used for improved "go to definition" feature in Xcode.
rdar://31604739
Differential Revision: https://reviews.llvm.org/D32020
llvm-svn: 301180
2017-04-24 14:04:58 +00:00
Argyrios Kyrtzidis
6e5ca5be53
[index] Take advantage of 'external_source_symbol' attribute for indexing purposes
...
- Ignore decls marked as 'generated_declaration'
- Include the 'defined_in' in the USR for additional namespacing
llvm-svn: 300949
2017-04-21 05:42:46 +00:00
Alex Lorenz
f6071c34a5
[index] Record class template specializations using a new 'SpecializationOf'
...
relationship
rdar://31603531
Differential Revision: https://reviews.llvm.org/D32010
llvm-svn: 300832
2017-04-20 10:43:22 +00:00
Argyrios Kyrtzidis
573624a9c2
[index] For C++ constructors/destructors, add references to the parent type where its name appears in definitions and declarations
...
Patch by Nathan Hawes!
https://reviews.llvm.org/D30730
llvm-svn: 298170
2017-03-17 23:41:59 +00:00
Argyrios Kyrtzidis
6d1a15b2d4
[index] Add 'Parameter' symbol kind and 'Local' symbol property to distinguish function-local symbols
...
Parameters have a 'child' relation to their function/method.
Also add an option '-include-locals' to 'c-index-test core' to enable indexing of function-local symbols.
Original patch from Nathan Hawes with some changes by me.
https://reviews.llvm.org/D30304
llvm-svn: 296282
2017-02-26 05:37:56 +00:00
Argyrios Kyrtzidis
de0f50886f
[index] Add 'IBTypeOf' relation for ObjC methods marked with IBAction and properties with IBOutletCollection.
...
llvm-svn: 291703
2017-01-11 21:01:07 +00:00
Argyrios Kyrtzidis
29cd1a4d7d
[index] Change some default parameters to fix an MSVC ICE.
...
Many thanks to Yunzhong Gao for tracking this down!
llvm-svn: 260807
2016-02-13 05:17:15 +00:00
Argyrios Kyrtzidis
f4fb85b1c7
[libclang] Separate the underlying indexing functionality of libclang and introduce it into the clangIndex library.
...
It is a general goodness for libclang itself to mostly be a wrapper of functionality provided by the libraries.
llvm-svn: 260760
2016-02-12 23:10:59 +00:00