Fangrui Song
4808ccb32c
Add missing headers to adapt llvmorg-11-init-5501-g213aea4c583 and llvmorg-11-init-5528-gd7c5037e6b9
2020-03-12 08:35:59 -07:00
Fangrui Song
dbf7d8eb41
If the workspace folder is a symlink, convert paths relative to it ( #314 )
...
If the workspace folder is a symlink and the client doesn't follow it.
Treat /tmp/symlink/ as canonical and convert every /tmp/real/ path to
/tmp/symlink/.
2019-03-10 00:27:50 -08:00
Fangrui Song
dcaa5a07af
Change Pos::line from int16_t to uint16_t
...
This allows representing line 0 ~ 65535.
2019-02-23 19:17:26 +08:00
Fangrui Song
66e9cbd9a6
indexer: change Pos computation from byte offset to UTF-8 encoded code point offset
2019-02-16 17:23:47 +08:00
Fangrui Song
c6d56519e3
Drop support for clang 6
2019-01-21 10:44:44 +08:00
Fangrui Song
dd74d03cfc
Adjust FrontendOpts.Inputs[0] for inferred files
2019-11-09 20:09:13 -08:00
Fangrui Song
a599aef482
Add ReplyOnce::NotReady and error if didOpen is not seen
...
Use IgnoringDiagConsumer to override default TextDiagnosticPrinter
2019-11-09 20:09:13 -08:00
Fangrui Song
46d3f075dc
Use clang::isIdentifierBody and clean up utils/working_files
2019-11-09 20:09:13 -08:00
Fangrui Song
09669fff76
Reduce MAKE_REFLECT_STRUCT in lsp.hh
...
Position -> Pos; lsPosition -> Position
2019-11-09 20:09:13 -08:00
Fangrui Song
bbce333042
*.h -> *.hh
2019-11-09 20:09:13 -08:00
Fangrui Song
3cd0ee2fc7
Refactor message handler and namespace ccls
2019-11-09 20:09:11 -08:00
Fangrui Song
18b47d3f5c
Improve extent of definition/declaration; uniquify typeDefinition
2019-11-09 20:03:28 -08:00
Fangrui Song
82deedf8c3
Add namespace alias clang::vfs = llvm::vfs to adapt D52783
...
vfs::x should be written as llvm::vfs::x to work around a [namepace.udir] bug before GCC 8 when namespace alias is used
2019-11-09 20:03:28 -08:00
Fangrui Song
49dd0ed558
Support workspace folders
2019-11-09 20:03:28 -08:00
Fangrui Song
0c5c3a11be
Add completion.maxNum: 100
2019-11-09 20:03:28 -08:00
Fangrui Song
3334b2c4b7
Remove clang_utils.*
2019-11-09 19:58:32 -08:00
Fangrui Song
569a7624a6
intern args
2019-11-09 19:58:32 -08:00
Fangrui Song
4b2f53aa5d
Add clang.pathMappings to reuse cache files with differect source paths
...
Use `>` as the separator.
2019-11-09 19:58:32 -08:00
Fangrui Song
f1d9a93819
Support empty cacheDirectory and fix cache load
2019-11-09 19:58:32 -08:00
Fangrui Song
6aee7b9648
Remove ASTUnit from indexer and clean up
2019-10-24 01:13:22 -07:00
Fangrui Song
fea457616a
New diagnostics
2019-10-24 01:12:58 -07:00
Fangrui Song
4c1b8f3811
Use StoreInMemory Preamble for CodeComplete
2019-10-24 01:11:30 -07:00
Fangrui Song
368bd9a283
SkipFunctionBodiesScope; improve fuzzy
2019-10-24 01:01:21 -07:00
Fangrui Song
27a5b24b59
Add license notice
2019-10-24 01:01:21 -07:00
Fangrui Song
39787d2851
clang-format
...
DEF CON 26 CTF
2019-10-24 01:01:21 -07:00
Fangrui Song
1c0bf0af65
Add textDocument/codeAction for clang FixIt
...
What do you think of the challenge ccls-fringe in Real World CTF?
2019-10-24 01:01:21 -07:00
Chao Shen
8eeb1bb3af
Fix diagnostics on MacOS and duplicated bases.
2019-10-24 01:01:20 -07:00
Fangrui Song
af77e6615d
CrashRecoveryContext
2019-10-24 01:01:20 -07:00
Fangrui Song
ebf07265eb
Diagnostics
2019-10-24 01:01:20 -07:00
Fangrui Song
d743743282
Enable clangDriver in project.cc
...
https://bugs.llvm.org/show_bug.cgi?id=37695 is not fixed. But since we have eliminated libclang for indexing and completion the bug no longer bothers us.
2019-10-24 01:01:20 -07:00
Fangrui Song
c4e22bde23
Use Clang C++ for completion and diagnostics
2019-10-24 01:01:20 -07:00
Fangrui Song
9b54e5391c
Clean up clang_tu; retrieve comments with clang::ASTContext::getRawCommentForAnyRedecl
2019-10-24 00:55:39 -07:00
Fangrui Song
103aa711d3
First draft: replace libclang indexer with clangIndex
2019-10-24 00:53:16 -07:00
Fangrui Song
9b9bf1cd19
Fix .. in compdb path; better type alias
2019-10-24 00:17:28 -07:00
Fangrui Song
1830103ec6
Internalize strings & remove diagnostics_publisher.cc
2019-10-24 00:17:28 -07:00
Fangrui Song
a962061698
Simplify pipeline
2019-10-23 21:56:51 -07:00