Commit Graph

1763 Commits

Author SHA1 Message Date
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
Fangrui Song
ce6b7363c6 Upgrade to --bundled-clang=6.0.0 2018-03-08 20:04:05 -08:00
Fangrui Song
f9f8429c74 Uniquify {func,type}.derived 2018-03-07 15:08:50 -08:00
Fangrui Song
478e542e8a Move lsSymbolKind to lsp.h 2018-03-07 13:20:31 -08:00
Fangrui Song
15ec6036e7 Set parentKind of Func/Var from declarations if they have no definition 2018-03-07 00:56:47 -08:00
Fangrui Song
57f2c325f0 parentKind in semantic highlighting: SymbolKind -> lsSymbolKind 2018-03-07 00:34:20 -08:00
Fangrui Song
6815f1312f Add semantic parent to textDocument/references 2018-03-06 20:05:32 -08:00
Fangrui Song
a1210db985 Add --log-file-append 2018-03-06 17:58:29 -08:00
Daan De Meyer
6b167e7773 remove unnecessary include 2018-03-06 13:15:37 -08:00
Daan De Meyer
46bc43acc4 Add unit test for IsWindowsAbsolutePath and remove explitic true/false checks (! instead) 2018-03-06 13:15:37 -08:00
Daan De Meyer
26e50e695d Add unit test for IsWindowsAbsolutePath 2018-03-06 13:15:37 -08:00
Daan De Meyer
99904874ca Fix libclang generic error on Windows 2018-03-06 13:15:37 -08:00
Fangrui Song
e5a904f9c7 Fix --test-unit 2018-03-05 20:46:45 -08:00
Fangrui Song
e6c4d32a6b Add config->diagnostics.{blacklist,whitelist} 2018-03-05 19:03:39 -08:00
Fangrui Song
df55e79e4e Add DiagnosticsEngine and add config->diagnostics.frequencyMs to allow reducing textDocument/publishDiagnostics frequency 2018-03-05 17:53:38 -08:00
Fangrui Song
df95cd4780 Fix #487 dead loop in hierarchical .cquery 2018-03-03 14:43:51 -08:00
Fangrui Song
68b7ed5852 Simplify clang_indexer.cc 2018-03-02 10:19:19 -08:00
Fangrui Song
d8b9acc790 [waf] Remove -Werror and reorder some libclang labels 2018-03-02 10:01:49 -08:00