llvm-project/clang-tools-extra/unittests/clangd
Sam McCall c55d09a00e [clangd] Make in-memory CDB always available as an overlay, refactor.
Summary:
The new implementation is a GlobalCompilationDatabase that overlays a base.
Normally this is the directory-based CDB.
To preserve the behavior of compile_args_from=LSP, the base may be null.

The OverlayCDB is always present, and so the extensions to populate it
are always supported.

It also allows overriding the flags of the fallback command. This is
just unit-tested for now, but the plan is to expose this as an extension
on the initialize message. This addresses use cases like
https://github.com/thomasjo/atom-ide-cpp/issues/16

Reviewers: ilya-biryukov

Subscribers: ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits

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

llvm-svn: 345970
2018-11-02 13:09:36 +00:00
..
Annotations.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
Annotations.h NFC: Enforce good formatting across multiple clang-tools-extra files 2018-08-14 16:03:32 +00:00
BackgroundIndexTests.cpp [clangd] Fix threading bugs in (not-yet-used) BackgroundIndex, re-enable test. 2018-10-16 09:05:13 +00:00
CMakeLists.txt [clangd] Refactor JSON-over-stdin/stdout code into Transport abstraction. (re-land r344620) 2018-10-17 07:32:05 +00:00
CancellationTests.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
ClangdTests.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
ClangdUnitTests.cpp Fix test to work on Windows. 2018-10-25 01:21:08 +00:00
CodeCompleteTests.cpp [clangd] Do not query index for new name completions. 2018-10-24 15:24:29 +00:00
CodeCompletionStringsTests.cpp [clangd] More precise representation of symbol names/labels in the index. 2018-06-22 16:11:35 +00:00
ContextTests.cpp [clangd] Introduced a Context that stores implicit data 2017-12-12 11:16:45 +00:00
DexTests.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
DraftStoreTests.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
FSTests.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
FileDistanceTests.cpp [clangd] Support scope proximity in code completion. 2018-10-17 11:19:02 +00:00
FileIndexTests.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
FindSymbolsTests.cpp [clangd] Set workspace root when initializing ClangdServer, disallow mutation. 2018-10-19 15:42:23 +00:00
FuzzyMatchTests.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
GlobalCompilationDatabaseTests.cpp [clangd] Make in-memory CDB always available as an overlay, refactor. 2018-11-02 13:09:36 +00:00
HeadersTests.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
IndexTests.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
JSONTransportTests.cpp Check that __MAC_OS_X_VERSION_MIN_REQUIRED is defined before checking 2018-10-20 17:35:50 +00:00
Matchers.h [clangd] Fix crash when CompilerInvocation can't be created. 2018-02-09 13:51:57 +00:00
QualityTests.cpp [clangd] Downrank members from base class 2018-10-24 13:45:17 +00:00
RIFFTests.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
SerializationTests.cpp [clangd] Truncate SymbolID to 16 bytes. 2018-10-24 06:58:42 +00:00
SourceCodeTests.cpp Fix range length comparison in DraftStore::UpdateDraft when Unicode characters are removed from the document 2018-10-23 11:51:53 +00:00
SymbolCollectorTests.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
SyncAPI.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
SyncAPI.h [clangd] Minimal implementation of automatic static index (not enabled). 2018-10-15 13:34:10 +00:00
TUSchedulerTests.cpp [clangd] workspace/symbol should be async, it reads from the index. 2018-10-25 14:19:14 +00:00
TestFS.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
TestFS.h Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
TestIndex.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
TestIndex.h [clangd] NFC: Rename DexIndex to Dex 2018-09-10 08:23:53 +00:00
TestScheme.h [clangd] Allow using customized include path in URI. 2018-04-09 15:09:44 +00:00
TestTU.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
TestTU.h NFC: Enforce good formatting across multiple clang-tools-extra files 2018-08-14 16:03:32 +00:00
ThreadingTests.cpp [clangd] Tracing: name worker threads, and enforce naming scheduled async tasks 2018-02-19 09:56:28 +00:00
TraceTests.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
URITests.cpp [clangd] Namespace style cleanup in cpp files. NFC. 2018-10-20 15:30:37 +00:00
XRefsTests.cpp [clangd] Simplify auto hover 2018-10-24 10:09:34 +00:00