llvm-project/clang-tools-extra/clangd/unittests
Nathan James ba3ea9c60f
[clangd] Fix clang tidy provider when multiple config files exist in directory tree
Currently Clang tidy provider searches from the root directory up to the target directory, this is the opposite of how clang-tidy searches for config files.
The result of this is .clang-tidy files are ignored in any subdirectory of a directory containing a .clang-tidy file.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D96204
2021-02-12 16:55:46 +00: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] Remove redundant -fno-delayed-template-parsing in tests. NFCI 2021-02-10 22:20:23 +01:00
xpc
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] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
CMakeLists.txt [clangd] Fix clang tidy provider when multiple config files exist in directory tree 2021-02-12 16:55:46 +00: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 [CodeComplete] Member completion: heuristically resolve some dependent base exprs 2021-02-11 11:03:40 +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] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +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] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +03:00
FindSymbolsTests.cpp [clangd] Index local classes, virtual and overriding methods. 2021-01-19 16:18:48 +01:00
FindTargetTests.cpp [clangd] Remove redundant -fno-delayed-template-parsing in tests. NFCI 2021-02-10 22:20:23 +01:00
FormatTests.cpp
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 Improve hover scopes for Objective-C code 2021-02-12 10:27:32 -05: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] Take into account what is in the index (symbols, references, etc.) at indexes merge 2021-02-05 13:35:07 +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] Remove redundant -fno-delayed-template-parsing in tests. NFCI 2021-02-10 22:20:23 +01: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] Remove the cross-file-rename option. 2021-02-12 15:38:55 +01:00
SelectionTests.cpp [clangd] Remove redundant -fno-delayed-template-parsing in tests. NFCI 2021-02-10 22:20:23 +01:00
SemanticHighlightingTests.cpp [clangd] Remove redundant -fno-delayed-template-parsing in tests. NFCI 2021-02-10 22:20:23 +01: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] Remove some obsolete options that are now always on 2021-02-01 17:24:03 +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
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] 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 [clang][index] report references from unreslovedLookupExpr. 2021-02-11 11:08:26 +01:00
lit.cfg.py
lit.site.cfg.py.in