llvm-project/clang-tools-extra/clangd/unittests
Kadir Cetinkaya 6b85032c95
[clangd] Update TUStatus api to accommodate preamble thread
Summary:
TUStatus api had a single thread in mind. This introudces a section
action to represent state of the preamble thread. In the file status extension,
we keep old behavior almost the same. We only prepend current task with a
`parsing includes` if preamble thread is working. We omit the idle thread in the
output unless both threads are idle.

Reviewers: sammccall

Subscribers: ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D76304
2020-04-06 21:20:17 +02:00
..
xpc [clangd][xpc] Fix XPC unittests 2019-04-29 19:41:30 +00:00
ASTTests.cpp [clangd] Errors in TestTU cause test failures unless suppressed with error-ok. 2020-01-24 11:16:27 +01:00
Annotations.cpp
Annotations.h
BackgroundIndexTests.cpp [ADT] Make StringRef's std::string conversion operator explicit 2020-01-28 23:47:07 +01:00
CMakeLists.txt [clangd] Fix buildbots 2020-03-04 12:41:26 +01:00
CancellationTests.cpp [clangd] Cancel certain operations if the file changes before we start. 2020-03-05 00:10:07 +01:00
CanonicalIncludesTests.cpp [clangd] Use pre-populated mappings for standard symbols 2019-09-09 15:32:51 +00:00
ClangdTests.cpp [clangd] Run semaCodeComplete only with a preamble 2020-04-01 13:02:47 +02:00
CodeCompleteTests.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
CodeCompletionStringsTests.cpp Code completion should not ignore default parameters in functions. 2019-08-07 16:52:21 +00:00
CollectMacrosTests.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
CompileCommandsTests.cpp [clangd] Try to fix CompileCommandsTests on windows. NFC 2019-12-06 12:28:01 +01:00
ContextTests.cpp [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
DexTests.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
DiagnosticsTests.cpp [clangd] Handle clang-tidy suppression comments for diagnostics inside macro expansions 2020-03-29 15:19:13 -04:00
DraftStoreTests.cpp [clangd] Propagate versions into DraftStore, assigning where missing. NFC 2020-03-03 16:20:13 +01:00
ExpectedTypeTest.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
FSTests.cpp [clangd] Make PreambleStatusCache handle filenames more carefully 2019-07-01 10:11:18 +00:00
FileDistanceTests.cpp
FileIndexTests.cpp [clangd] Populate PreambleData::CompileCommand and make use of it inside buildPreamble 2020-03-13 09:40:47 +01:00
FindSymbolsTests.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
FindTargetTests.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
FormatTests.cpp [clangd] Revamp textDocument/onTypeFormatting. 2019-06-10 14:26:21 +00:00
FormattedStringTests.cpp [clangd] Only minimally escape text when rendering to markdown. 2020-03-17 17:10:20 +01:00
FunctionTests.cpp
FuzzyMatchTests.cpp [ADT] Make StringRef's std::string conversion operator explicit 2020-01-28 23:47:07 +01:00
GlobalCompilationDatabaseTests.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
HeaderSourceSwitchTests.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
HeadersTests.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
HoverTests.cpp [clangd] Tweak parseDocumentation loop to use raw lines. NFC 2020-04-04 08:07:51 +02:00
IndexActionTests.cpp Even more fixes of implicit std::string conversions 2020-01-30 07:32:53 +01:00
IndexTests.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
JSONTransportTests.cpp
Matchers.h Replace llvm::integer_sequence and friends with the C++14 standard version 2019-08-15 10:56:05 +00:00
ParsedASTTests.cpp [clangd] Fix windows buildbots 2020-03-04 12:07:23 +01:00
PathMappingTests.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
PrintASTTests.cpp [clangd] Errors in TestTU cause test failures unless suppressed with error-ok. 2020-01-24 11:16:27 +01:00
QualityTests.cpp [clangd] Errors in TestTU cause test failures unless suppressed with error-ok. 2020-01-24 11:16:27 +01:00
RIFFTests.cpp
RenameTests.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
SelectionTests.cpp [AST] Correct the CXXOperatorCallExpr source range. 2020-03-16 16:51:10 +01:00
SemanticHighlightingTests.cpp [clangd] Support textDocument/semanticTokens/edits 2020-04-02 17:38:29 +02:00
SemanticSelectionTests.cpp [clangd] Support multiple cursors in selectionRange. 2020-03-25 17:59:09 +01:00
SerializationTests.cpp [clangd] Use our own relation kind. 2019-10-17 14:08:28 +00:00
SourceCodeTests.cpp [clangd] Have visibleNamespaces() and getEligiblePoints() take a LangOptions rather than a FormatStyle 2020-03-10 16:45:41 -04:00
SymbolCollectorTests.cpp [clangd] Set "spelled" flag for constructor references. 2020-02-06 16:59:45 +01:00
SymbolInfoTests.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
SyncAPI.cpp [clangd] Support multiple cursors in selectionRange. 2020-03-25 17:59:09 +01:00
SyncAPI.h [clangd] Support multiple cursors in selectionRange. 2020-03-25 17:59:09 +01:00
TUSchedulerTests.cpp [clangd] Update TUStatus api to accommodate preamble thread 2020-04-06 21:20:17 +02:00
TestFS.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
TestFS.h [clangd] Reland rL365634 2019-07-11 09:54:31 +00:00
TestIndex.cpp
TestIndex.h
TestScheme.h
TestTU.cpp [clangd] Add a flag to turn on recovery-expr. 2020-04-01 09:03:56 +02:00
TestTU.h [clangd] Don't build clangdserver for (most) completion tests. NFC 2020-03-31 23:09:36 +02:00
ThreadingTests.cpp
TraceTests.cpp
TweakTesting.cpp [clangd] Reapply b60896fad9 Fall back to selecting token-before-cursor if token-after-cursor fails. 2020-02-23 20:17:30 +01:00
TweakTesting.h [clangd] Don't build clangdserver for (most) completion tests. NFC 2020-03-31 23:09:36 +02:00
TweakTests.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
TypeHierarchyTests.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
URITests.cpp
XRefsTests.cpp [clangd] Fix an assertion crash in ReferenceFinder. 2020-04-02 09:29:20 +02:00
lit.cfg.py [clangd] Restore conventional names for lit configs, and .in/.py split. Fix build_mode indirection. 2019-05-02 08:00:39 +00:00
lit.site.cfg.py.in [clangd] Restore conventional names for lit configs, and .in/.py split. Fix build_mode indirection. 2019-05-02 08:00:39 +00:00