llvm-project/clang-tools-extra/clangd/unittests
Utkarsh Saxena 6831c1d868 [clangd] Include refs of base method in refs for derived method.
Addresses https://github.com/clangd/clangd/issues/881

Includes refs of base class method in refs of derived class method.
Previously we reported base class method's refs only for decl of derived
class method. Ideally this should work for all usages of derived class method.

Related patch:
fbeff2ec2b.

Differential Revision: https://reviews.llvm.org/D111039
2021-10-05 17:39:49 +02: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] Fix windows buildbots after ecea7218fb 2021-02-16 20:57:08 +01:00
tweaks [clangd] Improve PopulateSwitch tweak 2021-10-04 10:15:37 -04:00
xpc [clangd] CMake: express -Iclangd/ at top level and inherit 2021-07-02 09:52:36 +02:00
ASTSignalsTests.cpp [clangd] Make AST-based signals available to runWithPreamble. 2021-01-14 18:34:50 +01:00
ASTTests.cpp [clangd] Add basic support for attributes (selection, hover) 2021-08-06 22:49:14 +02:00
Annotations.cpp
Annotations.h
BackgroundIndexTests.cpp Revert "Revert "[clangd] Canonicalize compile flags before applying edits"" 2021-07-27 14:49:53 +02:00
CMakeLists.txt [clangd] IncludeCleaner as a library: Find all references to symbols in the file 2021-08-18 10:08:35 +02:00
CallHierarchyTests.cpp [clangd] Ensure Ref::Container refers to an indexed symbol 2021-07-22 03:33:40 -04:00
CanonicalIncludesTests.cpp [clangd] Group filename calculations in SymbolCollector, and cache mroe. 2021-03-11 12:59:26 +01:00
ClangdLSPServerTests.cpp [clangd] Introduce ASTHooks to FeatureModules 2021-04-13 17:45:09 +02:00
ClangdTests.cpp [clangd] Avoid "expected one compiler job" by picking the first eligible job. 2021-08-13 00:36:30 +02:00
CodeCompleteTests.cpp [clangd] Fix clangd crash when including a header 2021-09-16 10:27:15 +02: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 [clangd] Bail-out when an empty compile flag is encountered 2021-09-20 16:51:56 +02:00
CompilerTests.cpp [clangd] Bail-out when an empty compile flag is encountered 2021-09-20 16:51:56 +02:00
ConfigCompileTests.cpp [clangd] Rename Features.h -> Feature.h to avoid confilct with libstdc++ 2021-08-06 18:56:41 +02: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 Revert "Revert "[clangd] Provide a way to disable external index"" 2021-04-13 11:24:32 +02: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] Use URIs instead of paths in the index file list 2021-03-06 10:47:05 +03:00
DiagnosticsTests.cpp [Sema] Include full range of the switch condition in -Wswitch diagnostic 2021-08-10 22:50:40 +02:00
DraftStoreTests.cpp [clangd] Add a Filesystem that overlays Dirty files. 2021-03-09 14:35:21 +00:00
DumpASTTests.cpp [clangd] Allow AST request without range 2021-04-23 21:35:42 +02:00
ExpectedTypeTest.cpp
FSTests.cpp [clangd] Change FSProvider::getFileSystem to take CurrentWorkingDirectory 2020-06-19 12:12:02 +02:00
FeatureModulesTests.cpp [clangd] Fix feature modules to drop diagnostics 2021-06-17 09:29:29 +02:00
FileDistanceTests.cpp
FileIndexTests.cpp [clangd] Use URIs instead of paths in the index file list 2021-03-06 10:47:05 +03:00
FindSymbolsTests.cpp [clangd] Support `#pragma mark` in the outline 2021-09-23 17:13:30 -04:00
FindTargetTests.cpp [clangd] Ignore ObjC `id` and `instancetype` in FindTarget 2021-09-14 09:53:42 -04:00
FormatTests.cpp
FuzzyMatchTests.cpp
GlobalCompilationDatabaseTests.cpp [clangd] Replace usages of dummy with more descriptive words 2021-03-22 12:49:24 +01:00
HeaderSourceSwitchTests.cpp [clangd][NFC] Rename FSProvider and getFileSystem 2020-06-19 12:12:03 +02:00
HeadersTests.cpp [clangd] Follow-up on rGdea48079b90d 2021-10-04 08:39:24 +02:00
HoverTests.cpp [clangd] Use the active file's language for hover code blocks 2021-09-03 11:38:27 -04:00
IncludeCleanerTests.cpp [clangd] IncludeCleaner as a library: Find all references to symbols in the file 2021-08-18 10:08:35 +02:00
IndexActionTests.cpp [clangd] Dont index deeply nested symbols 2021-04-27 12:34:56 +02:00
IndexTests.cpp [clangd] Perform merging for stale symbols in MergeIndex 2021-03-30 11:09:51 +02:00
InlayHintTests.cpp [clangd] Deduplicate inlay hints 2021-09-21 03:23:04 -04:00
JSONTransportTests.cpp [libc++] Remove unused macro in __config 2021-09-23 13:09:32 -04:00
LSPBinderTests.cpp [clangd] Bind outgoing calls through LSPBinder too. NFC 2021-02-17 10:56:06 +01: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 Clangd Matchers.h: Fix -Wdeprecated-copy by making the defaulted copy ctor and deleted copy assignment operators explicit 2021-05-10 14:31:11 -07:00
ModulesTests.cpp [clangd] Always default to raw pch format 2021-05-14 16:34:57 +02:00
ParsedASTTests.cpp [clangd] Follow-up on rGdea48079b90d 2021-10-04 08:39:24 +02: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] Follow-up on rGdea48079b90d 2021-10-04 08:39:24 +02:00
PrintASTTests.cpp [clangd] Make unit test compatible with gtest 1.10.0 2021-05-14 19:37:46 +02:00
ProjectAwareIndexTests.cpp [clangd] Drop optional on ExternalIndexSpec 2021-06-02 23:26:37 +02: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] don't rename if the triggering loc is not actually being renamed. 2021-06-11 13:51:50 +02:00
SelectionTests.cpp [clangd] Guard against null Attrs in the AST 2021-08-13 10:38:52 +02:00
SemanticHighlightingTests.cpp [clangd] Ensure lambda init-capture gets semantic token 2021-09-23 03:52:57 -04: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] Move DraftStore from ClangdLSPServer into ClangdServer. 2021-03-02 22:58:50 +01:00
SymbolCollectorTests.cpp [clangd] Ensure Ref::Container refers to an indexed symbol 2021-07-22 03:33:40 -04: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] Move DraftStore from ClangdLSPServer into ClangdServer. 2021-03-02 22:58:50 +01:00
SyncAPI.h [clangd] Move DraftStore from ClangdLSPServer into ClangdServer. 2021-03-02 22:58:50 +01:00
TUSchedulerTests.cpp [clangd] TUScheduler uses last active file for file-less queries 2021-06-02 22:50:24 +02: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 Revert "Revert "[clangd] Adjust compile flags to contain only the requested file as input"" 2021-07-27 14:49:53 +02:00
TestTU.h [clangd] Move gtest include to TestTU.cpp from TestTU.h 2021-05-31 07:56:56 +02:00
TestWorkspace.cpp [clangd] Move gtest include to TestTU.cpp from TestTU.h 2021-05-31 07:56:56 +02:00
TestWorkspace.h [clangd] Add a TestWorkspace utility 2020-10-24 20:15:17 -04:00
TidyProviderTests.cpp [clangd] Fix clang tidy provider when multiple config files exist in directory tree 2021-02-12 16:55:46 +00:00
TypeHierarchyTests.cpp [clangd] Introduce pullDiags endpoint 2021-03-16 12:52:15 +01: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] Include refs of base method in refs for derived method. 2021-10-05 17:39:49 +02:00
lit.cfg.py
lit.site.cfg.py.in