llvm-project/clang-tools-extra/clangd
Nathan James 2808f597f8
[clangd] Print .clang-tidy configuration parsing errors using [ev]?log.
Currently warnings when parsing .clang-tidy are printed directly to errs.
This is less than ideal as there is no synchronisation printing to errs, leading to potential races.

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D93436
2020-12-18 02:07:27 +00:00
..
benchmarks [clangd] Add bencmark for measuring latency of DecisionForest model. 2020-10-02 18:04:31 +02:00
fuzzer [clangd] Fix fuzzer build after 7ba0779fbb 2020-09-30 11:02:05 +02:00
include-mapping [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
index Reland dcdef5b5b3 2020-12-15 20:54:55 +01:00
indexer [clangd] Improve clangd-indexer performance 2020-11-11 14:38:06 +03:00
quality Add a floating-point suffix to silence warnings; NFC 2020-11-04 10:09:51 -05:00
refactor Remove references to the ast_type_traits namespace 2020-12-11 12:39:33 +01:00
support [clangd] NFC: Use SmallVector<T> where possible 2020-12-10 13:36:49 +01:00
test [clangd] Provide suggestions with invalid config keys 2020-12-15 18:16:17 +00:00
tool [NFC] SmallVector<char...> to SmallString<...> 2020-11-27 20:36:09 +00:00
unittests [clangd] Validate clang-tidy Checks in clangd config. 2020-12-15 21:10:57 +00:00
xpc [clangd] makeStringError,make_error<StringError> -> error() 2020-09-14 11:48:31 +02:00
AST.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
AST.h [clangd] Value initialize SymbolIDs 2020-11-02 11:37:47 +01:00
CMakeLists.txt [clangd] Implement clang-tidy options from config 2020-11-25 18:35:35 +00:00
CSymbolMap.inc [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
ClangdLSPServer.cpp [clangd] Call hierarchy (ClangdLSPServer layer) 2020-11-23 20:44:07 -05:00
ClangdLSPServer.h [clangd] Call hierarchy (ClangdLSPServer layer) 2020-11-23 20:44:07 -05:00
ClangdServer.cpp [clangd] Publish config file errors over LSP 2020-12-07 11:07:32 +01:00
ClangdServer.h [clangd] Publish config file errors over LSP 2020-12-07 11:07:32 +01:00
CodeComplete.cpp [clangd] Bundle code completion items when the include paths differ, but resolve to the same file. 2020-12-03 16:33:15 +01:00
CodeComplete.h [clangd] Add support for multiple DecisionForest model experiments. 2020-10-29 19:49:40 +01:00
CodeCompletionStrings.cpp [clangd] Fix invalid UTF8 when extracting doc comments. 2020-09-30 16:05:12 +02:00
CodeCompletionStrings.h
CollectMacros.cpp [clangd] Value initialize SymbolIDs 2020-11-02 11:37:47 +01:00
CollectMacros.h [clangd] Get rid of getTokenRange helper 2020-03-03 14:30:42 +01:00
CompileCommands.cpp [clangd] NFC: Use SmallVector<T> where possible 2020-12-10 13:36:49 +01:00
CompileCommands.h [clangd] NFC: Use SmallVector<T> where possible 2020-12-10 13:36:49 +01:00
Compiler.cpp [clangd] No crash on "-verify" mode. 2020-11-19 15:51:53 +01:00
Compiler.h [clangd] Implement clang-tidy options from config 2020-11-25 18:35:35 +00:00
Config.cpp [clangd] config() -> Config::current to avoid confict with NS 2020-06-29 23:05:19 +02:00
Config.h [clangd] Introduce ProjectAwareIndex 2020-11-22 20:59:37 +01:00
ConfigCompile.cpp [clangd] Validate clang-tidy Checks in clangd config. 2020-12-15 21:10:57 +00:00
ConfigFragment.h [clangd] Introduce config parsing for External blocks 2020-11-22 20:59:37 +01:00
ConfigProvider.cpp [clangd][NFC] Small tweak to combined provider 2020-12-08 17:12:56 +00:00
ConfigProvider.h [clangd] Publish config file errors over LSP 2020-12-07 11:07:32 +01:00
ConfigYAML.cpp [clangd] Provide suggestions with invalid config keys 2020-12-15 18:16:17 +00:00
Diagnostics.cpp [clangd] Publish config file errors over LSP 2020-12-07 11:07:32 +01:00
Diagnostics.h [clangd] Publish config file errors over LSP 2020-12-07 11:07:32 +01:00
DraftStore.cpp [clangd] Add error() function for creating formatv-style llvm::Errors. NFC 2020-09-14 10:43:42 +02:00
DraftStore.h [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
DumpAST.cpp [clangd] Mention when CXXThis is implicit in exposed AST. 2020-11-24 16:57:56 +01:00
DumpAST.h [clangd] Add textDocument/ast extension method to dump the AST 2020-11-20 01:13:28 +01:00
ExpectedTypes.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
ExpectedTypes.h
FS.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
FS.h [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
Features.inc.in Speculative build fix for clangd/Features.inc.in 2020-07-27 13:39:54 +02:00
FileDistance.cpp [clangd] NFC: Use SmallVector<T> where possible 2020-12-10 13:36:49 +01:00
FileDistance.h Move endian constant from Host.h to SwapByteOrder.h, prune include 2019-10-19 00:48:11 +00:00
FindSymbols.cpp [clangd] NFC: Update FIXME comment regarding lack of c/dtor support 2020-10-26 15:31:59 +01:00
FindSymbols.h [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
FindTarget.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
FindTarget.h Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
Format.cpp Lexer: Update the Lexer to use MemoryBufferRef, NFC 2020-10-19 19:10:21 -04:00
Format.h
FuzzyMatch.cpp
FuzzyMatch.h
GlobalCompilationDatabase.cpp [clangd] Oops, fix code in #ifdef WIN32 2020-12-15 14:17:54 +01:00
GlobalCompilationDatabase.h Reland [clangd] Extract per-dir CDB cache to its own threadsafe class. NFC 2020-12-15 14:00:03 +01:00
HeaderSourceSwitch.cpp [clangd] Value initialize SymbolIDs 2020-11-02 11:37:47 +01:00
HeaderSourceSwitch.h [clangd] Implement a smart version of HeaderSource switch. 2019-09-30 10:48:02 +00:00
Headers.cpp [clangd] locateMacroAt handles patched macros 2020-05-29 12:46:54 +02:00
Headers.h [clangd] Add llvm:: qualifier to work around GCC bug. NFC 2020-12-17 12:51:12 +01:00
Hover.cpp [clangd] Add hover info for `this` expr 2020-12-15 09:47:29 +01:00
Hover.h [clangd] Improve hover on arguments to function call 2020-07-03 11:51:15 +02:00
IncludeFixer.cpp [clangd] Value initialize SymbolIDs 2020-11-02 11:37:47 +01:00
IncludeFixer.h [clangd] Compute scopes eagerly in IncludeFixer 2019-08-06 11:37:50 +00:00
JSONTransport.cpp [clangd] makeStringError,make_error<StringError> -> error() 2020-09-14 11:48:31 +02:00
ParsedAST.cpp [clangd] Implement clang-tidy options from config 2020-11-25 18:35:35 +00:00
ParsedAST.h [clangd] Express dumpAST in tests as a customAction() 2020-08-13 14:27:32 +02:00
PathMapping.cpp [clangd] Add error() function for creating formatv-style llvm::Errors. NFC 2020-09-14 10:43:42 +02:00
PathMapping.h [clangd] Add path mappings functionality 2020-01-07 12:40:51 +01:00
Preamble.cpp Frontend: Change ComputePreambleBounds to take MemoryBufferRef, NFC 2020-11-11 17:19:51 -05:00
Preamble.h [clangd] Make use of preamble bounds from the patch inside ReplayPreamble 2020-06-17 18:32:59 +02:00
Protocol.cpp [clangd] Add textDocument/ast extension method to dump the AST 2020-11-20 01:13:28 +01:00
Protocol.h [clangd] Add textDocument/ast extension method to dump the AST 2020-11-20 01:13:28 +01:00
Quality.cpp [clangd] Trivial: Log missing completion signals. 2020-11-05 18:52:44 +01:00
Quality.h [clangd] Add support for multiple DecisionForest model experiments. 2020-10-29 19:49:40 +01:00
QueryDriverDatabase.cpp [clangd] NFC: Use SmallVector<T> where possible 2020-12-10 13:36:49 +01:00
README.md [clangd] Add README pointing to docs, bugtracker etc. NFC 2020-03-12 14:00:08 +01:00
RIFF.cpp [clangd] Add error() function for creating formatv-style llvm::Errors. NFC 2020-09-14 10:43:42 +02:00
RIFF.h [clangd] Improve serialization error messages. NFC 2020-07-08 17:31:40 +02:00
Selection.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
Selection.h Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
SemanticHighlighting.cpp [clangd] Use enumMember instead of enumConstant 2020-12-11 14:46:13 +00:00
SemanticHighlighting.h [clangd] Support textDocument/semanticTokens/edits 2020-04-02 17:38:29 +02:00
SemanticSelection.cpp [clang] Simplify buildSyntaxTree API 2020-11-09 22:49:54 +01:00
SemanticSelection.h [clangd] Implement textDocument/foldingRange 2020-07-14 09:28:42 +02:00
SourceCode.cpp [clangd] Fix locateMacroAt() for macro definition outside preamble 2020-12-13 18:33:33 -05:00
SourceCode.h [clangd] Add isKeyword function. 2020-10-05 15:11:24 +02:00
StdSymbolMap.inc [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
TUScheduler.cpp [clangd] NFC: Use SmallVector<T> where possible 2020-12-10 13:36:49 +01:00
TUScheduler.h [clangd] Introduce memory usage dumping to TUScheduler, for Preambles and ASTCache 2020-10-12 15:25:29 +02:00
TidyProvider.cpp [clangd] Print .clang-tidy configuration parsing errors using [ev]?log. 2020-12-18 02:07:27 +00:00
TidyProvider.h [clangd] Validate clang-tidy Checks in clangd config. 2020-12-15 21:10:57 +00:00
Transport.h [NFC] Fix typos in Clangd and Clang 2019-12-16 10:54:40 +01:00
URI.cpp [clangd] Remove dead variable. NFC 2020-09-30 23:19:15 +02:00
URI.h [clangd] Simplify the callside of URI::resolve, NFC. 2019-09-23 14:39:37 +00:00
XRefs.cpp [clangd] Improve goToDefinition on auto and dectype 2020-12-15 16:32:22 +01:00
XRefs.h [clangd] Call hierarchy (XRefs layer, incoming calls) 2020-11-23 20:43:38 -05:00

README.md

clangd

clangd is a language server, and provides C++ IDE features to editors. This is not its documentation.

Communication channels

If you have any questions or feedback, you can reach community and developers through one of these channels: