Commit Graph

70 Commits

Author SHA1 Message Date
romix
8bdce31789 Produce detailed function signatures which include parameter names 2017-12-27 15:49:26 -08:00
scturtle
cb7ccbe543 Change var.def.is_* to enum. 2017-12-23 19:29:32 -06:00
Jacob Dufault
6538274e66 Update tests 2017-12-23 07:36:08 -08:00
Chao Shen
0985613d16 Add is_global and is_member. 2017-12-23 01:00:46 -06:00
Fangrui Song
9d4cf2a351 Update tests 2017-12-22 14:56:16 -08:00
Jacob Dufault
cb6aa5f1c9 Fix some warnings in tests. 2017-12-20 09:43:26 -08:00
Jacob Dufault
8098e4f01d Support multiple base functions. 2017-12-18 22:15:46 -08:00
Jacob Dufault
be961fc4f2 Add hover (instead of reusing detailed_name) 2017-12-18 21:20:00 -08:00
Jacob Dufault
9502c889d2 Update tests for typedef changes. 2017-12-18 20:42:17 -08:00
Jacob Dufault
c0c3fc41a4 Do not emit an include in the indexer if we failed to resolve the file. Also add -resource-dir to tests. 2017-12-15 21:24:31 -08:00
Jacob Dufault
e535fab581 Do not elide vector in serialization 2017-12-11 21:15:37 -08:00
Jacob Dufault
1dc7087f21 Update tests 2017-12-11 21:07:12 -08:00
Jacob Dufault
efd46ebd25 Update tests 2017-12-01 17:07:03 -08:00
Jacob Dufault
9d376a47d5 Do not index is_constructor and parameter_type_descriptions. 2017-11-08 19:59:11 -08:00
Jacob Dufault
510594cdcd Add is_constructor to indexer 2017-11-07 01:00:59 -08:00
Jacob Dufault
9cb4008023 Index type description for function parameters. 2017-11-07 00:57:08 -08:00
Jacob Dufault
6ab8a27313 Mark macros in index. 2017-06-28 23:28:29 -07:00
Jacob Dufault
b5305e14f2 Add |is_macro| state to IndexVar.
This does not handle setting |is_macro|, this CL is about updating the
tests.
2017-06-28 23:25:29 -07:00
Jacob Dufault
1d67d1ee37 Add additional metadata to function declarations. 2017-05-27 18:53:22 -07:00
Jacob Dufault
3469850c98 Change how function declarations are serialized so parameter info can be added. 2017-05-27 14:09:20 -07:00
Jacob Dufault
2e4c5474da Index implicit function calls. 2017-05-22 23:47:27 -07:00
Jacob Dufault
529f309c45 Index macros (treat them like variables) 2017-05-20 18:58:54 -07:00
Jacob Dufault
d3bd31604e Code lens improvements
- Hide declaration from list of refs on types and variables (so now they will show as '0 refs')
- Let the user hide code lens on parameter and function-local variables
2017-05-20 18:26:50 -07:00
Jacob Dufault
b79b98f464 Darken/fade code disabled by preprocessor. 2017-05-20 14:45:46 -07:00
Jacob Dufault
89e6b3cd43 Rename serialized output, update tests. 2017-04-21 00:04:56 -07:00
Jacob Dufault
d83b1591a4 Serialized indexes are now versioned. Old versions are not imported. 2017-04-19 23:02:24 -07:00
Jacob Dufault
b4fb350140 Include file modification time in index 2017-04-19 21:57:44 -07:00
Jacob Dufault
3ce446d202 Do not output interesting usage. 2017-04-18 21:58:39 -07:00
Jacob Dufault
f4e16067b7 Rename qualified_name to detailed_name. 2017-04-14 21:58:07 -07:00
Jacob Dufault
07c984d6c7 - Add type information to qualified_name, remove hover.
- Allow tests to automatically update their expecatations
2017-04-14 21:53:10 -07:00
Jacob Dufault
20bf746ee9 Update tests for hover 2017-04-13 22:46:45 -07:00
Jacob Dufault
d6123bd861 Every function usage is now considered a call of that function.
This means we will now report function calls that happen in the global scope (previously, those would only show up for find all refs).
2017-04-13 00:47:47 -07:00
Jacob Dufault
abbc6380f4 Fix indexing function call when there is implicit ctor call 2017-04-12 00:36:17 -07:00
Jacob Dufault
e9f0c57708 Implement textDocument/references 2017-04-09 22:34:06 -07:00
Jacob Dufault
56f0b3a90a Auto-index header files 2017-04-08 15:54:36 -07:00
Jacob Dufault
f0e8d0110c Add call refs from ctor context 2017-04-08 11:36:32 -07:00
Jacob Dufault
17c3a8bf57 Update test with current index state 2017-04-05 01:29:15 -07:00
Jacob Dufault
e3058da622 Store range information in index 2017-04-05 01:06:18 -07:00
Jacob Dufault
ae993d6446 wip 2017-04-02 18:34:15 -07:00
Jacob Dufault
4e2f24ac17 fix tests 2017-03-08 00:09:15 -08:00
Jacob Dufault
6519dc1b8d more tests updates 2017-03-07 16:21:23 -08:00
Jacob Dufault
e06f9472c1 better templates, index some initializer list values 2017-03-05 15:44:20 -08:00
Jacob Dufault
f3f72a0dfa Datastructure update 2017-02-24 22:08:14 -08:00
Jacob Dufault
6a95d2f46f mark type definition as interesting 2017-02-20 21:57:17 -08:00
Jacob Dufault
a7f5231e4c rename all_uses to uses 2017-02-20 21:34:46 -08:00
Jacob Dufault
6b95f51a25 better ctor support 2017-02-20 21:16:45 -08:00
Jacob Dufault
ef1ff80a58 combine usage into one list 2017-02-20 20:05:03 -08:00
Jacob Dufault
f067f6dcc4 prep to drop separate interesting_uses entry 2017-02-20 19:03:01 -08:00
Jacob Dufault
7c70d7fafd new file encoding scheme 2017-02-20 16:25:00 -08:00
Jacob Dufault
f3edc6e2f0 using-for-generic-types 2017-02-20 14:06:50 -08:00