Fangrui Song
041ce5b6f1
Fix EnumConstantDecl's kind & EnumDecl's vars
2019-10-24 18:37:54 -07:00
Fangrui Song
9ad26111ef
Clean and update tests after Index* refactoring
2019-10-24 18:37:35 -07:00
Fangrui Song
5b7758a6ca
Add GetAdjustedDecl to adjust Decl's that are missed by clangIndex
2019-10-24 18:37:35 -07:00
Fangrui Song
e4ab3d44e9
Improve VarDef::type for textDocument/typeDefinition
2019-10-24 18:37:35 -07:00
Fangrui Song
bd944cced5
Add DeclUse as element type of declarations
2019-10-24 01:13:24 -07:00
Fangrui Song
5c0a146ee4
detailed_name: "{\n}" -> "{}" ; completion
2019-10-24 01:12:58 -07:00
Fangrui Song
22627d7a1f
Validate RecordDecl
2019-10-24 01:01:21 -07:00
Fangrui Song
bfb759fd09
Misc
2019-10-24 01:01:21 -07:00
Fangrui Song
3be281416d
Fix Twine; index TypedefNameDecl to specialization; anonymous RecordDecl fields
2019-10-24 01:01:20 -07:00
Fangrui Song
3b997b12ad
Use ContainerDC for extent, index callees, set StaticMethod
2019-10-24 01:01:20 -07:00
Fangrui Song
c50f0c5900
Add Query*::file_id to allow textDocument/hover on declarations
...
Also change StorageClass storage to uint8_t
2019-10-24 01:01:20 -07:00
Fangrui Song
8cce275206
Misc improvement to indexer
...
* Make CXXConstructor span one more column to left/right
* Use OrigD to collect Decl::Record members
* Better comment parsing
* Limit lines of initializers and macro definition to 3
* Attribute macro arg uses to spelling loc
* Remove FuncDef::declaring_type
2019-10-24 01:01:20 -07:00
Fangrui Song
b759798e5d
Support uses from other files and improve references in macro replacement-list
2019-10-24 01:01:20 -07:00
Fangrui Song
24e99fd767
Cleanup
2019-10-24 01:01:20 -07:00
Fangrui Song
3e8f8fea64
clangIndex
2019-10-24 01:01:20 -07:00
Fangrui Song
8e4d62212b
Misc changes to clangIndex
2019-10-24 01:00:37 -07:00
Fangrui Song
96e0f0fafa
clangIndex
2019-10-24 00:55:39 -07:00
Fangrui Song
d165a0b0ea
Use clang::PrintingPolicy and remove type_printer
2019-10-24 00:17:28 -07:00
Fangrui Song
42bcf2b58f
$ccls/memberHierarchy: add field offset
2019-10-23 21:56:51 -07:00
Fangrui Song
eb057c7acd
Use usr as primary key and remove id; simplify import pipeline
...
Remove on_id_map, IndexMergeIndexUpdates
2019-10-23 21:56:51 -07:00
Fangrui Song
b872faa160
Simplify
2019-10-23 21:56:50 -07:00
Fangrui Song
a52d56a453
Add qual_name_offset to Index* structs; improve workspace/symbol and documentSymbol
2019-10-23 21:56:50 -07:00
Fangrui Song
ce33cc86d4
.
2019-10-23 21:56:50 -07:00
Fangrui Song
b839389f77
Resurrection of ccls
2019-10-23 21:56:50 -07:00