Fangrui Song
86e4a6afb9
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-25 07:34:43 -07:00
Fangrui Song
b110decc1a
Change Pos::line from int16_t to uint16_t
...
This allows representing line 0 ~ 65535.
2019-03-17 20:37:44 -07:00
Fangrui Song
ea774dadf5
indexer: change Pos computation from byte offset to UTF-8 encoded code point offset
2019-03-17 18:50:25 -07:00
Fangrui Song
0dbf6c89f1
Drop support for clang 6
2019-03-17 18:50:25 -07:00
Fangrui Song
e8cacf1efa
Adjust FrontendOpts.Inputs[0] for inferred files
2019-03-17 18:50:25 -07:00
Fangrui Song
872d7c5de9
Add ReplyOnce::NotReady and error if didOpen is not seen
...
Use IgnoringDiagConsumer to override default TextDiagnosticPrinter
2019-01-12 00:40:49 +08:00
Fangrui Song
8c73bbc3c7
Use clang::isIdentifierBody and clean up utils/working_files
2019-01-09 15:19:23 +08:00
Fangrui Song
5736dd094d
Fix some MSVC 2017 errors
...
Thanks to Dso Tsin!
2019-01-09 15:19:23 +08:00
Fangrui Song
e0e00cb48a
Reduce MAKE_REFLECT_STRUCT in lsp.hh
...
Position -> Pos; lsPosition -> Position
2019-01-09 15:19:23 +08:00
Fangrui Song
df20969788
*.h -> *.hh
2019-01-09 15:19:23 +08:00
Fangrui Song
ea1271a84e
Refactor message handler and namespace ccls
2019-01-09 15:19:23 +08:00
Fangrui Song
119a05597d
Improve extent of definition/declaration; uniquify typeDefinition
2019-01-09 15:19:23 +08:00
Fangrui Song
51081c3cd2
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-01-09 15:17:19 +08:00
Fangrui Song
5a1ed4c943
Support workspace folders
2019-01-09 15:17:19 +08:00
Fangrui Song
38feb8d277
Add completion.maxNum: 100
2018-10-04 00:13:50 -07:00
Fangrui Song
8f40c0c244
Remove clang_utils.*
2018-09-23 20:34:40 -07:00
Fangrui Song
08645d64c1
intern args
2018-09-20 01:08:33 -07:00
Fangrui Song
a18977b9fc
Add clang.pathMappings to reuse cache files with differect source paths
2018-09-16 20:53:52 -07:00
Fangrui Song
58191fd335
Support empty cacheDirectory and fix cache load
2018-09-08 15:46:52 -07:00
Fangrui Song
407c7cc29d
Remove ASTUnit from indexer and clean up
2018-08-31 09:47:37 -07:00
Fangrui Song
87c5491536
New diagnostics
2018-08-29 20:52:44 -07:00
Fangrui Song
f808dd8f8a
Use StoreInMemory Preamble for CodeComplete
2018-08-29 20:52:32 -07:00
Fangrui Song
bd3e06796e
SkipFunctionBodiesScope; improve fuzzy
2018-08-28 00:27:16 -07:00
Fangrui Song
f3490a3e6c
Add license notice
2018-08-20 22:27:52 -07:00
Fangrui Song
8cbb317dc2
clang-format
...
DEF CON 26 CTF
2018-08-09 10:13:54 -07:00
Fangrui Song
0bb311ac56
Add textDocument/codeAction for clang FixIt
...
What do you think of the challenge ccls-fringe in Real World CTF?
2018-07-29 01:03:30 -07:00
Chao Shen
b95b47540d
Fix diagnostics on MacOS and duplicated bases.
2018-07-26 20:51:30 -07:00
Fangrui Song
344f00fbb2
CrashRecoveryContext
2018-07-15 23:06:27 -07:00
Fangrui Song
dd05ad9f65
Diagnostics
2018-07-15 13:29:47 -07:00
Fangrui Song
eea1b92825
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.
2018-07-15 01:22:02 -07:00
Fangrui Song
5dcccea285
Use Clang C++ for completion and diagnostics
2018-07-15 00:15:31 -07:00
Fangrui Song
2196e17222
Clean up clang_tu
2018-07-07 15:43:49 -07:00
Fangrui Song
7dd0241a4c
First draft: replace libclang indexer with clangIndex
2018-07-07 15:43:05 -07:00
Fangrui Song
6a1902aeb6
Fix .. in compdb path; better type alias
2018-06-17 12:45:16 -07:00
Fangrui Song
e5d8153d4b
Internalize strings & remove diagnostics_publisher.cc
2018-06-08 10:39:38 -07:00
Fangrui Song
c9f0b65062
Simplify pipeline
2018-05-28 16:13:44 -07:00