llvm-project/clang-tools-extra/clangd
Sam McCall 6d4eb46d0c [clangd] workspace/symbol should be async, it reads from the index.
Summary:
To enable this, TUScheduler has to provide a way to run async tasks without
needing a preamble or AST!

Reviewers: ilya-biryukov

Subscribers: javed.absar, ioeric, MaskRay, jkorous, arphaman, jfb, kadircet, cfe-commits

Differential Revision: https://reviews.llvm.org/D53644

llvm-svn: 345268
2018-10-25 14:19:14 +00:00
..
benchmarks [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
clients/clangd-vscode [clangd] Fix category in clangd-vscode's package.json 2018-07-23 14:32:12 +00:00
fuzzer [clangd] Fix fuzzer build. 2018-08-04 01:51:10 +00:00
index [clangd] Do not query index for new name completions. 2018-10-24 15:24:29 +00:00
indexer [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
tool [clangd] Support passing a relative path to -compile-commands-dir 2018-10-23 11:54:36 +00:00
AST.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
AST.h [clangd] Names that are not spelled in source code are reserved. 2018-10-18 12:23:05 +00:00
CMakeLists.txt [clangd] Lay JSONRPCDispatcher to rest. 2018-10-18 12:32:04 +00:00
Cancellation.cpp [clangd] Simplify cancellation public API 2018-09-13 11:47:48 +00:00
Cancellation.h [clangd] Simplify cancellation public API 2018-09-13 11:47:48 +00:00
ClangdLSPServer.cpp [clangd] Clean up LSP structs around configuration. NFC, no protocol changes. 2018-10-25 04:22:52 +00:00
ClangdLSPServer.h [clangd] Clean up LSP structs around configuration. NFC, no protocol changes. 2018-10-25 04:22:52 +00:00
ClangdServer.cpp [clangd] workspace/symbol should be async, it reads from the index. 2018-10-25 14:19:14 +00:00
ClangdServer.h [clangd] Set workspace root when initializing ClangdServer, disallow mutation. 2018-10-19 15:42:23 +00:00
ClangdUnit.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
ClangdUnit.h Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
CodeComplete.cpp [clangd] Do not query index for new name completions. 2018-10-24 15:24:29 +00:00
CodeComplete.h Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
CodeCompletionStrings.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
CodeCompletionStrings.h [clangd] Show function documentation in signature help 2018-08-17 09:29:38 +00:00
Compiler.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
Compiler.h Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
Context.cpp NFC: Enforce good formatting across multiple clang-tools-extra files 2018-08-14 16:03:32 +00:00
Context.h [clangd] context key constructor is constexpr. NFC 2018-06-15 12:39:21 +00:00
Diagnostics.cpp [clangd] Embed fixes as CodeAction, instead of clangd_fixes. Clean up serialization. 2018-10-24 07:59:38 +00:00
Diagnostics.h [clangd] Embed fixes as CodeAction, instead of clangd_fixes. Clean up serialization. 2018-10-24 07:59:38 +00:00
DraftStore.cpp Fix range length comparison in DraftStore::UpdateDraft when Unicode characters are removed from the document 2018-10-23 11:51:53 +00:00
DraftStore.h [clangd] Support incremental document syncing 2018-03-26 14:41:40 +00:00
FS.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
FS.h Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
FSProvider.h Fix the qualification of `IntrusiveRefCntPtr` to use `llvm::`. 2018-10-11 08:05:10 +00:00
FileDistance.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
FileDistance.h [clangd] Support scope proximity in code completion. 2018-10-17 11:19:02 +00:00
FindSymbols.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
FindSymbols.h [clangd] Correct the namespace of ParsedAST forward declaration, NFC. 2018-08-01 12:50:44 +00:00
Function.h [clangd] Replace UniqueFunction with llvm::unique_function. 2018-07-03 20:59:33 +00:00
FuzzyMatch.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
FuzzyMatch.h [clangd] FuzzyMatch exposes an API for its word segmentation. NFC 2018-07-20 08:01:37 +00:00
GlobalCompilationDatabase.cpp [clangd] Remove unused CDB function. NFC 2018-10-25 02:25:44 +00:00
GlobalCompilationDatabase.h [clangd] Remove unused CDB function. NFC 2018-10-25 02:25:44 +00:00
Headers.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
Headers.h Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
JSONTransport.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
Logger.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
Logger.h [clangd] Rename and move trivial logger to Logger.cpp. NFC 2018-10-17 07:39:32 +00:00
Path.h Restored r303067 and fixed failing test. 2017-05-16 09:38:59 +00:00
Protocol.cpp [clangd] Clean up LSP structs around configuration. NFC, no protocol changes. 2018-10-25 04:22:52 +00:00
Protocol.h [clangd] Clean up LSP structs around configuration. NFC, no protocol changes. 2018-10-25 04:22:52 +00:00
Quality.cpp Fix MSVC "truncation from 'double' to 'float'" warnings. NFCI. 2018-10-24 19:31:24 +00:00
Quality.h [clangd] Downrank members from base class 2018-10-24 13:45:17 +00:00
RIFF.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
RIFF.h [clangd] Define a compact binary serialization fomat for symbol slab/index. 2018-09-04 16:16:50 +00:00
SourceCode.cpp Fix range length comparison in DraftStore::UpdateDraft when Unicode characters are removed from the document 2018-10-23 11:51:53 +00:00
SourceCode.h Fix range length comparison in DraftStore::UpdateDraft when Unicode characters are removed from the document 2018-10-23 11:51:53 +00:00
TUScheduler.cpp [clangd] workspace/symbol should be async, it reads from the index. 2018-10-25 14:19:14 +00:00
TUScheduler.h [clangd] workspace/symbol should be async, it reads from the index. 2018-10-25 14:19:14 +00:00
Threading.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
Threading.h [clangd] Use 'const Twine&' instead of 'Twine'. NFC 2018-07-26 16:13:52 +00:00
Trace.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
Trace.h [clangd] Ensure that we reply to each call exactly once. NFC (I think!) 2018-10-24 14:26:26 +00:00
Transport.h [clangd] Refactor JSON-over-stdin/stdout code into Transport abstraction. (re-land r344620) 2018-10-17 07:32:05 +00:00
URI.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
URI.h [clangd] Implement proximity path boosting for Dex 2018-09-06 12:54:43 +00:00
XRefs.cpp [clangd] Simplify auto hover 2018-10-24 10:09:34 +00:00
XRefs.h [clangd] Implement findReferences function 2018-09-05 10:33:36 +00:00