Fangrui Song
75638b5387
Simplify Position & Range; prettify Maybe; remove file_contents.{h,cc}
2018-04-08 01:10:56 -07:00
Jacob Dufault
95f6460e6e
HasValue -> HasValueForMaybe_
2018-02-11 13:49:44 -08:00
Fangrui Song
3c6f3f661f
Use Maybe<Id<T>> for {Func,Type,Var}DefDefinitionData
...
sizeof(db->funcs[0].def) 224 (-24)
sizeof(db->types[0].def) 248 (-24)
sizeof(db->vars[0].def) 160 (-24)
2018-02-01 22:31:43 -08:00
Fangrui Song
392cd79d04
Add Maybe<T> and change definition_{spelling,extent} from optional to Maybe
...
sizeof(db->funcs[0].def) decreases from 248 to 232
sizeof(db->types[0].def) decreases from 272 to 256
sizeof(db->vars[0].def) decreases from 184 to 168
2018-02-01 21:39:23 -08:00
Fangrui Song
6d6c1639d0
Type-dependent member access expressions
2018-01-31 21:23:00 -08:00
Fangrui Song
54ac72115e
Change line/column to 0-based and only use 1-based when (de,)serialized to JSON
2018-01-14 11:54:23 -08:00
Jacob Dufault
f5314b62b1
Reformat to Chromium style.
2017-09-21 18:14:57 -07:00
Jacob Dufault
79ec5a749a
Improve tree view
...
- Show base/derived callers ([B] and [D] prefix)
- Show call position information
- Temporarily prevent duplicate calls from appearing, needs a proper fix.
2017-07-19 00:12:29 -07:00
Jacob Dufault
8910d0a13e
Fix warnings (almost all numeric cast-related)
2017-05-21 16:22:00 -07:00
Jacob Dufault
00143bef8e
Log index updates before applying them
2017-05-19 00:02:01 -07:00
Jacob Dufault
2c20cf0157
Add some partial update tests
2017-05-15 00:29:22 -07:00
Jacob Dufault
cd50eb9e35
Positions are now 32 bits (down from 96ish)
2017-04-18 22:38:39 -07:00
Jacob Dufault
95b567838c
Remove concept of 'interesting' usage.
...
It never worked well enough. Showing variable instantations for the type will be more useful.
2017-04-18 22:28:33 -07:00
Jacob Dufault
c9a251b7ab
Goto definition intelligently jumps to declaration
2017-04-10 22:43:01 -07:00
Jacob Dufault
5408540158
cleanup query location usage
2017-04-06 23:20:30 -07:00
Jacob Dufault
547ef3fc3d
simplify position part1
2017-04-06 23:10:17 -07:00
Jacob Dufault
e3058da622
Store range information in index
2017-04-05 01:06:18 -07:00