llvm-project/clang-tools-extra/clangd/unittests
Sam McCall 8712df7a62 [clangd] references: decls of overrides of x are refs to x, not decls
This requires a second index query for refs to overrides, as the refs
call doesn't tell you which ref points at which symbol.

Differential Revision: https://reviews.llvm.org/D95451
2021-02-01 17:19:19 +01:00
..
decision_forest_model Revert "Temporarily Revert "[clangd] Add Random Forest runtime for code completion."" 2020-09-19 10:54:04 +02:00
remote [clangd] Add symbol origin for remote index 2020-11-28 15:38:11 +01:00
support [clangd] Use atomics instead of locks to track periodic memory trimming 2020-12-22 22:32:22 +01:00
tweaks [clangd] Make ExpandAutoType not available on template params. 2021-01-15 14:19:05 +01:00
xpc [clangd][xpc] Fix XPC unittests 2019-04-29 19:41:30 +00:00
ASTSignalsTests.cpp [clangd] Make AST-based signals available to runWithPreamble. 2021-01-14 18:34:50 +01:00
ASTTests.cpp Revert "[clangd] Extract symbol-scope logic out of Quality, add tests. NFC" 2021-01-29 14:59:16 +01:00
Annotations.cpp
Annotations.h
BackgroundIndexTests.cpp [clangd] Explicitly avoid background-indexing the same file twice. 2021-01-13 17:29:30 +01:00
CMakeLists.txt [clangd] Make AST-based signals available to runWithPreamble. 2021-01-14 18:34:50 +01:00
CallHierarchyTests.cpp [clangd] Sort results of incomingCalls request by container name 2020-11-24 03:29:02 -05:00
CanonicalIncludesTests.cpp [clangd] Disambiguate overloads of std::move for header insertion. 2020-10-07 19:42:41 +02:00
ClangdLSPServerTests.cpp [clangd] Allow configuration database to be specified in config. 2021-01-25 23:15:48 +01:00
ClangdTests.cpp [clangd] Inject context provider rather than config into ClangdServer. NFC 2021-01-22 14:34:30 +01:00
CodeCompleteTests.cpp [clangd] Fix filename completion at the end of file 2021-01-26 09:45:21 +01:00
CodeCompletionStringsTests.cpp [clangd] Fix invalid UTF8 when extracting doc comments. 2020-09-30 16:05:12 +02:00
CollectMacrosTests.cpp [clangd] Add main file macros into the main-file index. 2021-01-14 15:10:17 +03:00
CompileCommandsTests.cpp Reland [clangd] Quote/escape argv included in log messages. 2021-01-31 16:39:47 +01:00
CompilerTests.cpp [clangd] Don't crash on `#pragma clang __debug parser_crash` 2020-08-20 15:53:21 +03:00
ConfigCompileTests.cpp [clangd] Parse Diagnostics block, and nest ClangTidy block under it. 2021-01-28 01:36:23 +01:00
ConfigProviderTests.cpp [clangd] Provide suggestions with invalid config keys 2020-12-15 18:16:17 +00:00
ConfigTesting.h [clangd] Publish config file errors over LSP 2020-12-07 11:07:32 +01:00
ConfigYAMLTests.cpp [clangd] Parse Diagnostics block, and nest ClangTidy block under it. 2021-01-28 01:36:23 +01:00
DecisionForestTests.cpp Revert "Temporarily Revert "[clangd] Add Random Forest runtime for code completion."" 2020-09-19 10:54:04 +02:00
DexTests.cpp [clangd] Ignore the static index refs from the dynamic index files. 2020-12-18 15:36:30 +03:00
DiagnosticsTests.cpp [clangd] Add include-fixer fixit for field_incomplete_or_sizeless diagnostic. 2021-01-29 08:22:23 +01:00
DraftStoreTests.cpp [clangd] Propagate versions into DraftStore, assigning where missing. NFC 2020-03-03 16:20:13 +01:00
DumpASTTests.cpp [clangd] Mention when CXXThis is implicit in exposed AST. 2020-11-24 16:57:56 +01:00
ExpectedTypeTest.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
FSTests.cpp [clangd] Change FSProvider::getFileSystem to take CurrentWorkingDirectory 2020-06-19 12:12:02 +02:00
FileDistanceTests.cpp
FileIndexTests.cpp [clangd] Add a TestWorkspace utility 2020-10-24 20:15:17 -04:00
FindSymbolsTests.cpp [clangd] Index local classes, virtual and overriding methods. 2021-01-19 16:18:48 +01:00
FindTargetTests.cpp [clangd] FindTarget resolves base specifier 2021-01-26 18:59:29 +00:00
FormatTests.cpp [clangd] Revamp textDocument/onTypeFormatting. 2019-06-10 14:26:21 +00:00
FuzzyMatchTests.cpp [ADT] Make StringRef's std::string conversion operator explicit 2020-01-28 23:47:07 +01:00
GlobalCompilationDatabaseTests.cpp Reland [clangd] Quote/escape argv included in log messages. 2021-01-31 16:39:47 +01:00
HeaderSourceSwitchTests.cpp [clangd][NFC] Rename FSProvider and getFileSystem 2020-06-19 12:12:03 +02:00
HeadersTests.cpp [clangd] Rename FSProvider to TFS in case of ThreadsafeFS 2020-06-19 12:12:03 +02:00
HoverTests.cpp [clangd] Make our printing policies for Hover more consistent, especially tags 2020-12-19 00:52:55 +01:00
IndexActionTests.cpp [clangd] Don't traverse the AST within uninteresting files during indexing 2020-05-26 10:27:28 +02:00
IndexTests.cpp [clangd][fuzzyFind] Do not show stale symbols in the result. 2021-01-06 11:17:12 +03:00
JSONTransportTests.cpp [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
LSPClient.cpp [clangd] Metric tracking through Tracer 2020-05-03 10:50:32 +02:00
LSPClient.h [clangd] Set up machinery for gtests of ClangdLSPServer. 2020-04-10 02:50:57 +02:00
LoggerTests.cpp [clangd] Add error() function for creating formatv-style llvm::Errors. NFC 2020-09-14 10:43:42 +02:00
Matchers.h Replace llvm::integer_sequence and friends with the C++14 standard version 2019-08-15 10:56:05 +00:00
ModulesTests.cpp [clangd] Discard diagnostics from another SourceManager. 2020-08-21 13:11:21 +02:00
ParsedASTTests.cpp [clangd] Add main file macros into the main-file index. 2021-01-14 15:10:17 +03:00
PathMappingTests.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
PreambleTests.cpp [clangd] Respect ReferencesParams.context.includeDeclarations 2021-02-01 17:07:02 +01:00
PrintASTTests.cpp [clangd] Errors in TestTU cause test failures unless suppressed with error-ok. 2020-01-24 11:16:27 +01:00
ProjectAwareIndexTests.cpp [clangd] Fix use-after-free in ProjectAwareIndex tests 2020-11-22 21:29:45 +01:00
QualityTests.cpp Revert "[clangd] Extract symbol-scope logic out of Quality, add tests. NFC" 2021-01-29 14:59:16 +01:00
RIFFTests.cpp
RenameTests.cpp [clangd] Rename: merge index/AST refs path-insensitively where needed 2021-02-01 15:15:21 +01:00
SelectionTests.cpp [clangd] Selection handles CXXBaseSpecifier 2021-01-26 18:58:53 +00:00
SemanticHighlightingTests.cpp [clangd] Do not treat line as inactive if skipped range ends at character position 0 2020-11-26 03:42:42 -05:00
SemanticSelectionTests.cpp [clangd] Start using SyntaxTrees for folding ranges feature 2020-10-27 16:47:35 +01:00
SerializationTests.cpp [clangd] Express ASAN interactions of tests more clearly. NFC 2020-11-19 20:14:51 +01:00
SourceCodeTests.cpp [clangd] Add isKeyword function. 2020-10-05 15:11:24 +02:00
SymbolCollectorTests.cpp [clangd] Fix a crash when indexing invalid ObjC method declaration 2021-01-25 15:43:11 +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] Add a NewName optional parameter to clangdServer::prepareRename. 2020-10-07 21:18:51 +02:00
SyncAPI.h [clangd] Add a NewName optional parameter to clangdServer::prepareRename. 2020-10-07 21:18:51 +02:00
TUSchedulerTests.cpp [clangd] Make AST-based signals available to runWithPreamble. 2021-01-14 18:34:50 +01:00
TestFS.cpp [clangd] Ignore the static index refs from the dynamic index files. 2020-12-18 15:36:30 +03:00
TestFS.h [clangd] Fix crash-bug in preamble indexing when using modules. 2020-08-20 14:19:52 +02:00
TestIndex.cpp [clangd] NFC: Use SmallVector<T> where possible 2020-12-10 13:36:49 +01:00
TestIndex.h
TestScheme.h
TestTU.cpp [clangd] Retire some flags for uncontroversial, stable features. 2021-01-20 11:47:12 +01:00
TestTU.h [clangd] Implement clang-tidy options from config 2020-11-25 18:35:35 +00:00
TestWorkspace.cpp [clangd] Add a TestWorkspace utility 2020-10-24 20:15:17 -04:00
TestWorkspace.h [clangd] Add a TestWorkspace utility 2020-10-24 20:15:17 -04:00
TypeHierarchyTests.cpp [clangd] Avoid type hierarchy crash on incomplete type 2020-11-25 03:45:00 -05:00
URITests.cpp [clangd] Fix conversion from Windows UNC paths to file URI format. 2020-07-22 12:13:09 +02:00
XRefsTests.cpp [clangd] references: decls of overrides of x are refs to x, not decls 2021-02-01 17:19:19 +01: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