llvm-project/clang-tools-extra/clangd/unittests
Qingyuan Zheng c119a17e7f [AST] Fix clang RecursiveASTVisitor for definition of XXXTemplateSpecializationDecl
Fixes https://github.com/clangd/clangd/issues/1132
where clangd's semantic highlighting is missing for symbols of a template
specialization definition. It turns out the visitor didn't traverse the
base classes of Class/Var##TemplateSpecializationDecl, i.e.
CXXRecordDecl/VarDecl. This patch adds them back as what is done in
DEF_TRAVERSE_TMPL_PART_SPEC_DECL.

Reviewed By: rsmith

Differential Revision: https://reviews.llvm.org/D126757
2022-06-06 02:35:34 -04: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] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
tweaks [clangd] Minor fixes to ExtractVariableTests missed in D124486 2022-05-31 11:34:35 -04:00
xpc [clangd] CMake: express -Iclangd/ at top level and inherit 2021-07-02 09:52:36 +02:00
ASTSignalsTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
ASTTests.cpp [clangd] Add inlay hints for auto-typed parameters with one instantiation. 2022-03-23 17:26:25 +01:00
Annotations.cpp
Annotations.h [clangd] cleanup of header guard names 2021-12-02 15:58:35 +00:00
BackgroundIndexTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
CMakeLists.txt Reland(3) "[clangd] Indexing of standard library" 2022-05-19 08:13:23 +02:00
CallHierarchyTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
CanonicalIncludesTests.cpp Fix the test after D123031 2022-04-05 18:21:24 +02:00
ClangdLSPServerTests.cpp [clangd] Cleanup of readability-identifier-naming 2022-02-01 13:31:52 +00:00
ClangdTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
CodeCompleteTests.cpp [clangd][ObjC] Filter ObjC method completions on the remaining selector 2022-05-20 11:49:16 -04:00
CodeCompletionStringsTests.cpp [clangd] Fix invalid UTF8 when extracting doc comments. 2020-09-30 16:05:12 +02:00
CollectMacrosTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
CompileCommandsTests.cpp [clangd] Cleanup of readability-identifier-naming 2022-02-01 13:31:52 +00:00
CompilerTests.cpp [clangd] Bail-out when an empty compile flag is encountered 2021-09-20 16:51:56 +02:00
ConfigCompileTests.cpp [clangd] IncludeCleaner: Add filtering mechanism 2022-04-19 14:56:27 +02:00
ConfigProviderTests.cpp [clangd] Remove a test with a duplicate of FileCacheTests 2022-06-01 08:15:54 +09:00
ConfigTesting.h [clangd] Cleanup of readability-identifier-naming 2022-02-01 13:31:52 +00:00
ConfigYAMLTests.cpp [clangd] Add parsing for IgnoreHeaders config option 2022-05-06 16:11:37 +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] Qualify calls to std::move to silence -Wunqualified-std-cast-call. NFC. 2022-02-26 13:36:14 +01:00
DiagnosticsTests.cpp [clangd] Provide links to clang-tidy and include-cleaner diagnostic docs 2022-05-20 16:33:48 +02:00
DraftStoreTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
DumpASTTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
ExpectedTypeTest.cpp [clangd] Cleanup of readability-identifier-naming 2022-02-01 13:31:52 +00:00
FSTests.cpp
FeatureModulesTests.cpp [clangd] Add beforeExecute() callback to FeatureModules. 2022-04-21 18:03:39 +02:00
FileDistanceTests.cpp
FileIndexTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
FindSymbolsTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
FindTargetTests.cpp [clangd] Support UnresolvedUsingTypeLoc AST node in FindTarget. 2022-05-20 14:54:17 +02:00
FormatTests.cpp [clangd] Handle tabs in getIncrementalChangesAfterNewline() 2022-03-29 01:43:09 -04:00
FuzzyMatchTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
GlobalCompilationDatabaseTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
HeaderSourceSwitchTests.cpp [clangd] Test against path insensitivity 2022-03-21 17:27:05 +01:00
HeadersTests.cpp [clangd] Include Cleaner: ignore headers with IWYU export pragmas 2022-05-16 10:13:47 +02:00
HoverTests.cpp Revert "[clangd] Fix hover crashing on integral or enumeral casts" 2022-05-31 22:30:20 +02:00
IncludeCleanerTests.cpp [clangd] Include Cleaner: ignore headers with IWYU export pragmas 2022-05-16 10:13:47 +02:00
IndexActionTests.cpp [clangd] Remove trivial uses of FileEntry::getName 2022-04-04 20:59:51 +02:00
IndexTests.cpp [clangd] Cleanup of readability-identifier-naming 2022-02-01 13:31:52 +00:00
InlayHintTests.cpp [clangd] Support for standard inlayHint protocol 2022-05-10 18:59:15 +02:00
InsertionPointTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
JSONTransportTests.cpp [clangd] Cleanup of readability-identifier-naming 2022-02-01 13:31:52 +00:00
LSPBinderTests.cpp [clangd] Bind outgoing calls through LSPBinder too. NFC 2021-02-17 10:56:06 +01:00
LSPClient.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
LSPClient.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01: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] cleanup of header guard names 2021-12-02 15:58:35 +00:00
ModulesTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
ParsedASTTests.cpp [clang][lex] NFCI: Use FileEntryRef in PPCallbacks::InclusionDirective() 2022-04-14 10:46:12 +02:00
PathMappingTests.cpp
PreambleTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
PrintASTTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
ProjectAwareIndexTests.cpp [clangd] Drop optional on ExternalIndexSpec 2021-06-02 23:26:37 +02:00
QualityTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
RIFFTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
RenameTests.cpp [clangd] Remove redundant check for renamed symbol origin 2022-01-18 09:43:53 +01:00
SelectionTests.cpp [clangd] Fix a selection tree crash for unmatched-bracket code. 2022-01-27 21:21:40 +01:00
SemanticHighlightingTests.cpp [AST] Fix clang RecursiveASTVisitor for definition of XXXTemplateSpecializationDecl 2022-06-06 02:35:34 -04:00
SemanticSelectionTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
SerializationTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
SourceCodeTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
StdLibTests.cpp Reland(3) "[clangd] Indexing of standard library" 2022-05-19 08:13:23 +02:00
SymbolCollectorTests.cpp [Index] [clangd] Support for concept declarations and requires expressions 2022-04-26 13:50:01 +00:00
SymbolInfoTests.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
SyncAPI.cpp [clangd] Provide documentation as MarkupContent in signaturehelp 2021-12-10 12:58:08 +01:00
SyncAPI.h [clangd] Provide documentation as MarkupContent in signaturehelp 2021-12-10 12:58:08 +01:00
TUSchedulerTests.cpp Reland(3) "[clangd] Indexing of standard library" 2022-05-19 08:13:23 +02:00
TestFS.cpp [clangd] Test against path insensitivity 2022-03-21 17:27:05 +01:00
TestFS.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
TestIndex.cpp [Index] [clangd] Support for concept declarations and requires expressions 2022-04-26 13:50:01 +00:00
TestIndex.h [Index] [clangd] Support for concept declarations and requires expressions 2022-04-26 13:50:01 +00:00
TestTU.cpp [clangd] parse all make_unique-like functions in preamble 2022-05-16 11:17:25 +02:00
TestTU.h [clangd] parse all make_unique-like functions in preamble 2022-05-16 11:17:25 +02:00
TestWorkspace.cpp [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
TestWorkspace.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
ThreadCrashReporterTests.cpp [clangd] Print current request context along with the stack trace 2021-10-26 00:58:09 +02: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] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
URITests.cpp [clangd] Cleanup of readability-identifier-naming 2022-02-01 13:31:52 +00:00
XRefsTests.cpp [AST] Improve traversal of concepts and concept requirements 2022-04-28 09:33:26 +00:00
lit.cfg.py
lit.site.cfg.py.in