Commit Graph

61 Commits

Author SHA1 Message Date
Jacob Dufault
151505dadf Add TODO to investigate index or import issue 2017-04-13 01:21:24 -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
76b6a3d4fd Store indexed dependencies so we can reload all files when restoring from cache. Also slightly improve goto definition source range 2017-04-10 22:26:27 -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
ebd467d31b Support llvm 4 2017-03-13 21:31:53 -07:00
Jacob Dufault
cc4d49794d outline fixes 2017-03-12 13:28:30 -07:00
Jacob Dufault
8a13acd3b8 testupdate 2017-03-12 13:28:29 -07:00
Jacob Dufault
1508ac85d8 fixes 2017-03-09 23:06:01 -08: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
94b344dbe3 update test 2017-03-07 10:18:01 -08:00
Jacob Dufault
49c6f7787a do not index namespace ref 2017-03-05 22:34:17 -08:00
Jacob Dufault
f7e2b20059 better specialized function definition indexing 2017-03-05 22:23:41 -08:00
Jacob Dufault
f6967eee48 fix usage on specialized template parameters 2017-03-05 17:09:08 -08:00
Jacob Dufault
e06f9472c1 better templates, index some initializer list values 2017-03-05 15:44:20 -08:00
Jacob Dufault
8e36152406 better template indexing 2017-03-05 14:49:23 -08:00
Jacob Dufault
243ed8dfa5 wip 2017-02-25 17:08:05 -08:00
Jacob Dufault
f3f72a0dfa Datastructure update 2017-02-24 22:08:14 -08:00
Jacob Dufault
9b351ce52f emit less info for system defs 2017-02-20 23:33:05 -08:00
Jacob Dufault
b33bd54922 support anonymous structs 2017-02-20 22:11:47 -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
5f0f290d18 Support unions and enums 2017-02-20 21:32:40 -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
ab7138bd91 Verify class inheritance for templates, add interesting usage 2017-02-20 14:38:32 -08:00
Jacob Dufault
f3edc6e2f0 using-for-generic-types 2017-02-20 14:06:50 -08:00
Jacob Dufault
04412f056f mark type usages as interesting for template parameters 2017-02-20 13:48:46 -08:00
Jacob Dufault
e78945a80f wip template usage 2017-02-20 11:08:27 -08:00
Jacob Dufault
43072452e5 remove some todos 2017-02-19 23:55:29 -08:00
Jacob Dufault
0dabbb3093 index declaration vs definition 2017-02-19 23:51:31 -08:00
Jacob Dufault
657260eeab add method inheritance support 2017-02-19 23:06:38 -08:00
Jacob Dufault
da6fbf7c5a update-ctor-test 2017-02-19 22:47:05 -08:00
Jacob Dufault
d26cb81854 dtors 2017-02-19 22:31:25 -08:00
Jacob Dufault
d01eb6b86f static members 2017-02-19 22:24:05 -08:00
Jacob Dufault
d3b57ac301 most tests pass 2017-02-19 22:06:46 -08:00
Jacob Dufault
3cd39ae91a better param index, using index 2017-02-19 18:35:56 -08:00
Jacob Dufault
7701822aa9 wip 2017-02-19 18:00:58 -08:00
Jacob Dufault
d87d74083c wip-new-indexer 2017-02-19 16:56:56 -08:00
Jacob Dufault
8b534175f5 enable-ctors 2017-02-19 01:43:52 -08:00
Jacob Dufault
161aab3a09 wip 2017-02-19 01:17:37 -08:00
Jacob Dufault
e637de145a better-return-type-location 2017-02-19 01:05:57 -08:00