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
Fangrui Song
0997e4dcc3
Update tests and README
2019-10-23 21:56:50 -07:00
Fangrui Song
d571fed293
Fix skipped region in clang 6.0.0; add repology badge; remove -latomic
2019-10-23 21:56:50 -07:00
Fangrui Song
aa2910208f
Fix g++ build
2019-10-23 21:56:50 -07:00
Fangrui Song
b2b5e57761
Variant of clangd fuzzy matcher
2019-10-23 21:55:32 -07:00
Rian Neogi
bcdb8690f0
Remove unneeded code
2018-03-15 11:53:27 -07:00
Rian Neogi
26584cac81
Fix completion on semicolon
2018-03-15 11:53:27 -07:00
Fangrui Song
6cd339059f
Fix #518
2018-03-14 21:12:55 -07:00
Fangrui Song
cebd6bb7c7
Remove platform arguments, update Travis & AppVeyor to use clang+llvm 6.0.0
...
Close #509
2018-03-13 17:39:06 -07:00
Fangrui Song
3a752a3c8f
Adjust order of GetPlatformClangArguments
2018-03-11 22:13:17 -07:00
Fangrui Song
89d45fb48a
Reload .cquery compile_commands.json upon workspace/didChangeConfiguration. fix #378
...
And backport https://github.com/waf-project/waf/pull/2127
2018-03-11 15:15:15 -07:00
DaanDeMeyer
9b3ec699e0
fix windows relative path include dirs ( #501 )
...
* Only do path normalization on clang-cl + clang-format
* Improve clang-cl checking + add /I to args that could be followed by a relative path + add two test cases
2018-03-11 10:08:41 -07:00
Fangrui Song
2a7117e6e5
Fix hierarchical .cquery
2018-03-10 19:51:08 -08:00
Fangrui Song
640f548e7c
Use std::index_sequence and std::make_unique
2018-03-10 15:57:02 -08:00
Fangrui Song
3995a9d5b8
Add initialization options highlight.{blacklist,whitelist}
2018-03-09 00:23:32 -08:00