Fangrui Song
d83be5adcc
.
2018-03-31 13:54:19 -07:00
Fangrui Song
9aca6119ed
.
2018-03-31 13:38:43 -07:00
Fangrui Song
233e377137
.
2018-03-31 11:27:28 -07:00
Fangrui Song
6c8fee4141
.
2018-03-31 09:47:27 -07:00
Fangrui Song
f8a816d110
.
2018-03-31 09:07:53 -07:00
Fangrui Song
89dd4b066b
.
2018-03-31 00:53:39 -07:00
Fangrui Song
da649891ae
Resurrection of ccls
2018-03-30 22:02:26 -07:00
Fangrui Song
512cd8cbd3
Better textDocument/definition heuristic for T::name style dependent names
2018-03-29 22:36:54 -07:00
Chao Shen
2f0b9ccfdc
Extract LLVM to specific directory.
2018-03-28 19:40:39 -07:00
Fangrui Song
7e80959ce1
Improve fuzzy matching heuristics.
2018-03-27 13:33:14 -07:00
Chao Shen
5ef55f993f
Fix lost index update.
2018-03-27 13:29:48 -07:00
DaanDeMeyer
975c5646a4
Enable gcc extensions on cygwin only
2018-03-26 08:37:11 -07:00
DaanDeMeyer
5f8418cd9b
enable gcc extensions (needed for cygwin support)
2018-03-26 08:20:15 -07:00
Pavel Davydov
410fb69e25
Add comment with short issue description. ( #545 )
2018-03-26 08:09:19 -07:00
Pavel Davydov
59769df8b5
Blacklist '-include' and '-include-pch' flags. ( #545 )
2018-03-26 08:09:19 -07:00
Daan De Meyer
401d542ba7
Switch to -print-resource-dir (drop support for system clang 4.0)
2018-03-26 08:07:40 -07:00
Maxim Kot
9c729e1937
UB fixed.
...
Forgotten return was removed.
2018-03-26 08:06:04 -07:00
Jacob Dufault
33bd27b913
Work on e2e tests
2018-03-24 10:26:17 -07:00
Jacob Dufault
4270b4fdef
Minor type cleanup
2018-03-24 10:26:17 -07:00
DaanDeMeyer
a566167db6
Change default cmake build type to Release
2018-03-24 10:23:31 -07:00
Chao Shen
ddc318eef3
Preprocessor keyword completion.
2018-03-23 21:26:07 -07:00
Patrick Reisert
d87afce1fc
Ignore cl's -showIncludes
2018-03-23 10:44:48 -07:00
Chao Shen
e235dbedfe
Fix missing include completions.
2018-03-23 10:42:26 -07:00
Jacob Dufault
7ff4a9aac9
ipc.h -> method.h, rename some types
2018-03-21 22:01:21 -07:00
Jacob Dufault
cad6dcda0c
Remove global list of message ids.
...
Also do some naming cleanup. Also remove xmacros.
2018-03-21 21:05:25 -07:00
Jacob Dufault
5f085729bd
Fix some warnings due to missing returns
2018-03-21 21:04:41 -07:00
Boris Staletic
bdabb7596c
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.
2018-03-21 18:50:42 -07:00
Jacob Dufault
7e6965afe3
Don't use an IterationLoop for main indexer.
...
This causes the indexer to exit.
2018-03-21 11:57:09 -07:00
Elliot Berman
1afb6c3988
Flush sessions on textDocument/didOpen
2018-03-20 16:48:44 -07:00
Elliot Berman
958422e77f
Undo changes to diagnostics engine and import pipeline
...
They didn't seem necessary
2018-03-20 16:48:44 -07:00
Elliot Berman
f17196e3da
Flush all clang-complete sessions on workspace/didChangeConfiguration
2018-03-20 16:48:44 -07:00
Jacob Dufault
f137ec6a6d
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.
2018-03-20 11:55:40 -07:00
Jacob Dufault
07b3208cb4
Ensure IndexMergeIndexUpdates always returns a bool
2018-03-20 10:12:52 -07:00
Boris Staletic
c6ea1f1946
Conditionally allow reindex on didChange
2018-03-20 00:09:40 -07:00
Jacob Dufault
7c1155392a
Try to prevent long queue lengths.
2018-03-19 20:01:23 -07:00
Jacob Dufault
c7e5299bee
Reformat
2018-03-19 19:51:42 -07:00
Jacob Dufault
3f5e34ef20
Restore include completion on #
2018-03-19 19:50:22 -07:00
Jacob Dufault
6d42b40319
Fix crash when dynamically adding completion item
2018-03-19 17:30:21 -07:00
Jacob Dufault
0dbe8a9171
Don't use std::mismatch. Unit tests crash on Windows.
2018-03-19 17:25:00 -07:00
Jacob Dufault
b272fc427c
Restore call to GetPlatformClangArguments
2018-03-19 16:48:07 -07:00
Jacob Dufault
b5bd29b702
Restore platform arguments
2018-03-19 16:25:35 -07:00
DaanDeMeyer
0365e447f0
Remove leftover comment
2018-03-19 12:05:18 -07:00
Fangrui Song
a3f66468ab
Simplify ComputeGuessScore
2018-03-19 01:05:29 -07:00
Daan De Meyer
fb795d02f9
Add SHA256 hashes of LLVM downloads and check them when downloading LLVM
2018-03-18 16:32:23 -07:00
Boris Staletic
0b087421a7
Make CL mode detection fool-proof ( #528 )
2018-03-18 15:52:01 -07:00
Fangrui Song
b9c3af0be9
Don't include system header files for #include "
(#i"
) completion
2018-03-18 14:56:30 -07:00
DaanDeMeyer
4d23e9fa10
[CMake] Remove byte hacks + add correct url's for different clang versions + abort for unsupported combinations ( #532 )
2018-03-18 13:16:42 -07:00
Fangrui Song
1e019f4984
Simplify and optimize completion.
2018-03-18 13:06:40 -07:00
Fangrui Song
639f587e01
Optimize FuzzyMatcher and add tests.
2018-03-18 12:18:16 -07:00
Boris Staletic
42b47ae77b
Add -idirafter ot kPathArgs ( #529 )
2018-03-18 09:15:32 -07:00