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
Fangrui Song
90329e5453
Simplify ComputeGuessScore
2019-10-23 21:56:50 -07:00
Daan De Meyer
25094bc70d
Add SHA256 hashes of LLVM downloads and check them when downloading LLVM
2019-10-23 21:56:50 -07:00
Boris Staletic
193d42ea78
Make CL mode detection fool-proof ( #528 )
2019-10-23 21:56:50 -07:00
Fangrui Song
2d1c990f1a
Don't include system header files for #include "
(#i"
) completion
2019-10-23 21:56:50 -07:00
DaanDeMeyer
282ef8ce74
[CMake] Remove byte hacks + add correct url's for different clang versions + abort for unsupported combinations ( #532 )
2019-10-23 21:56:50 -07:00
Fangrui Song
ad88f707f7
Simplify and optimize completion.
2019-10-23 21:56:50 -07:00
Fangrui Song
02542b1e69
Optimize FuzzyMatcher and add tests.
2019-10-23 21:56:50 -07:00
Boris Staletic
13cccda781
Add -idirafter ot kPathArgs ( #529 )
2019-10-23 21:56:50 -07:00
Fangrui Song
d7e0722ca6
Use clang+llvm-6.0.0-amd64-unknown-freebsd-10.tar.xz
...
before 6.0.0 it was named freebsd10
2019-10-23 21:56:50 -07:00
Fangrui Song
11293722cc
textDocument/didOpen: add args to override project entry
2019-10-23 21:56:50 -07:00
DaanDeMeyer
ad3f990267
Add CMake as alternative build system ( #526 )
2019-10-23 21:56:50 -07:00