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
2035a24c74
Set typeDefinitionProvider
2019-10-23 21:56:50 -07:00
Fangrui Song
96bba583c9
Remove unused fs code.
2019-10-23 21:56:50 -07:00
Fangrui Song
fdb562bb42
Use global config.
2019-10-23 21:56:50 -07:00
Fangrui Song
062b1ad0fd
Simplify optional.
2019-10-23 21:56:50 -07:00
Fangrui Song
38cc501a8a
Fuzzy
2019-10-23 21:56:50 -07:00
Fangrui Song
daf7a41278
.
2019-10-23 21:56:50 -07:00
Fangrui Song
c96631d1ee
.
2019-10-23 21:56:50 -07:00
Fangrui Song
a58a38c32d
.
2019-10-23 21:56:50 -07:00
Fangrui Song
eb7d0951ce
.
2019-10-23 21:56:50 -07:00
Fangrui Song
22a7bcb47f
.
2019-10-23 21:56:50 -07:00
Fangrui Song
ce33cc86d4
.
2019-10-23 21:56:50 -07:00
Fangrui Song
e1398ff319
.
2019-10-23 21:56:50 -07:00
Fangrui Song
f7872d143d
.
2019-10-23 21:56:50 -07:00
Fangrui Song
b839389f77
Resurrection of ccls
2019-10-23 21:56:50 -07:00
Fangrui Song
39dfe052f5
Better textDocument/definition heuristic for T::name style dependent names
2019-10-23 21:56:50 -07:00
Chao Shen
53138afabd
Extract LLVM to specific directory.
2019-10-23 21:56:50 -07:00
Fangrui Song
6c95649904
Improve fuzzy matching heuristics.
2019-10-23 21:56:50 -07:00
Chao Shen
4a95eda9d7
Fix lost index update.
2019-10-23 21:56:50 -07:00
DaanDeMeyer
2b493d80c2
Enable gcc extensions on cygwin only
2019-10-23 21:56:50 -07:00
DaanDeMeyer
bbf7feae19
enable gcc extensions (needed for cygwin support)
2019-10-23 21:56:50 -07:00
Pavel Davydov
fdba724f07
Add comment with short issue description. ( #545 )
2019-10-23 21:56:50 -07:00
Pavel Davydov
a6e62aa28c
Blacklist '-include' and '-include-pch' flags. ( #545 )
2019-10-23 21:56:50 -07:00
Daan De Meyer
7a6ceae500
Switch to -print-resource-dir (drop support for system clang 4.0)
2019-10-23 21:56:50 -07:00
Maxim Kot
b68b063abd
UB fixed.
...
Forgotten return was removed.
2019-10-23 21:56:50 -07:00
Jacob Dufault
47aa9b8e23
Work on e2e tests
2019-10-23 21:56:50 -07:00
Jacob Dufault
98090c543d
Minor type cleanup
2019-10-23 21:56:50 -07:00
DaanDeMeyer
b110f0f96c
Change default cmake build type to Release
2019-10-23 21:56:50 -07:00
Chao Shen
eefaad79f2
Preprocessor keyword completion.
2019-10-23 21:56:50 -07:00
Patrick Reisert
9ba87673b8
Ignore cl's -showIncludes
2019-10-23 21:56:50 -07:00
Chao Shen
8da0172955
Fix missing include completions.
2019-10-23 21:56:50 -07:00
Jacob Dufault
2fc731c856
ipc.h -> method.h, rename some types
2019-10-23 21:56:50 -07:00
Jacob Dufault
e37a6c814b
Remove global list of message ids.
...
Also do some naming cleanup. Also remove xmacros.
2019-10-23 21:56:50 -07:00
Jacob Dufault
ee87d6cb97
Fix some warnings due to missing returns
2019-10-23 21:56:50 -07:00
Boris Staletic
39fbd1a2d5
Make overridden flags persistent
...
didOpen can override flags from compilation database.
didSave was able to reset the flags back.
This makes sure that the overridden flags persist.
2019-10-23 21:56:50 -07:00
Jacob Dufault
38fbe89b4c
Don't use an IterationLoop for main indexer.
...
This causes the indexer to exit.
2019-10-23 21:56:50 -07:00
Elliot Berman
23bf95b5e3
Flush sessions on textDocument/didOpen
2019-10-23 21:56:50 -07:00
Elliot Berman
702eec9f2a
Undo changes to diagnostics engine and import pipeline
...
They didn't seem necessary
2019-10-23 21:56:50 -07:00
Elliot Berman
c636eae680
Flush all clang-complete sessions on workspace/didChangeConfiguration
2019-10-23 21:56:50 -07:00
Jacob Dufault
1fd0a1be94
Reduce queue lengths by running index updates as iteration loop
...
A single translation unit can create many index updates, so give
IndexMain_DoCreateIndexUpdate a chance to run a few times. This should also be
faster as it is more icache friendly.
2019-10-23 21:56:50 -07:00
Jacob Dufault
ef59e59f5b
Ensure IndexMergeIndexUpdates always returns a bool
2019-10-23 21:56:50 -07:00
Boris Staletic
bf011fef71
Conditionally allow reindex on didChange
2019-10-23 21:56:50 -07:00
Jacob Dufault
4e76cdaaae
Try to prevent long queue lengths.
2019-10-23 21:56:50 -07:00
Jacob Dufault
db7e25c542
Reformat
2019-10-23 21:56:50 -07:00
Jacob Dufault
af3c09d00d
Restore include completion on #
2019-10-23 21:56:50 -07:00
Jacob Dufault
0b1cc52c58
Fix crash when dynamically adding completion item
2019-10-23 21:56:50 -07:00
Jacob Dufault
259d30ef8a
Don't use std::mismatch. Unit tests crash on Windows.
2019-10-23 21:56:50 -07:00
Jacob Dufault
997bcdf05a
Restore call to GetPlatformClangArguments
2019-10-23 21:56:50 -07:00
Jacob Dufault
fb304d5c95
Restore platform arguments
2019-10-23 21:56:50 -07:00
DaanDeMeyer
504cb8d7fd
Remove leftover comment
2019-10-23 21:56:50 -07:00