llvm-project/clang-tools-extra/clangd
Sam McCall f2c8f6e16d [clangd] Log rather than assert on bad UTF-8.
Summary:
I don't love this behavior, but it prevents crashing when indexing boost
headers, and I can't think of a better practical alternative.

Fixes https://reviews.llvm.org/D81530

Based on a patch by AnakinZheng!

Reviewers: kadircet

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits, AnakinZheng

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81530
2020-06-10 11:40:23 +02:00
..
benchmarks [clangd] Don't create as much garbage while building Dex index. 2020-05-14 13:35:44 +02:00
fuzzer [clangd] Fix BUILD_SHARED_LIBS build more. 2020-04-29 22:46:41 +02:00
include-mapping [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
index [clangd] Change ParseInputs to store FSProvider rather than VFS 2020-06-08 13:23:55 +02:00
indexer Revert "Use InitLLVM to setup a pretty stack printer" 2019-11-25 21:06:56 -05:00
refactor [clangd] Make use of SourceOrder to find first initializer in DefineOutline 2020-05-26 07:32:07 +02:00
support Reland [clangd] Resolve driver symlinks, and look up unknown relative drivers in PATH. 2020-06-09 23:07:28 +02:00
test [clangd] Add CSV export for trace metrics 2020-05-19 13:35:31 +02:00
tool [clangd] Fix forgotten propagation of AsnycPreamble flag 2020-06-03 23:56:49 +02:00
unittests [clangd] Log rather than assert on bad UTF-8. 2020-06-10 11:40:23 +02:00
xpc [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
AST.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
AST.h [clangd] Get rid of lexer usage in AST.cpp 2020-02-27 09:54:21 +01:00
CMakeLists.txt [clangd] Rename FormattedString -> Markup, move to support. NFC 2020-05-02 14:53:47 +02:00
CSymbolMap.inc [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
ClangdLSPServer.cpp Reland [clangd] Resolve driver symlinks, and look up unknown relative drivers in PATH. 2020-06-09 23:07:28 +02:00
ClangdLSPServer.h [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
ClangdServer.cpp [clangd] Change ParseInputs to store FSProvider rather than VFS 2020-06-08 13:23:55 +02:00
ClangdServer.h [clangd] Run PreambleThread in async mode behind a flag 2020-05-29 13:20:46 +02:00
CodeComplete.cpp [clangd] Don't produce snippets when completion location is followed by parenthesis 2020-06-09 13:59:29 +02:00
CodeComplete.h [clangd] Populate the parse options to CodeCompletion/SignatureHelp. 2020-06-05 10:32:07 +02:00
CodeCompletionStrings.cpp Code completion should not ignore default parameters in functions. 2019-08-07 16:52:21 +00:00
CodeCompletionStrings.h [clangd] Place cursor better after completing patterns 2019-05-28 15:33:37 +00:00
CollectMacros.cpp [clangd] Get rid of getTokenRange helper 2020-03-03 14:30:42 +01:00
CollectMacros.h [clangd] Get rid of getTokenRange helper 2020-03-03 14:30:42 +01:00
CompileCommands.cpp Reland [clangd] Resolve driver symlinks, and look up unknown relative drivers in PATH. 2020-06-09 23:07:28 +02:00
CompileCommands.h Reland [clangd] Resolve driver symlinks, and look up unknown relative drivers in PATH. 2020-06-09 23:07:28 +02:00
Compiler.cpp [clangd] Change ParseInputs to store FSProvider rather than VFS 2020-06-08 13:23:55 +02:00
Compiler.h [clangd] Change ParseInputs to store FSProvider rather than VFS 2020-06-08 13:23:55 +02:00
Diagnostics.cpp Revert "[clangd] Parse std::make_unique, and emit template diagnostics at expansion." 2020-06-09 15:42:22 +02:00
Diagnostics.h Revert "[clangd] Parse std::make_unique, and emit template diagnostics at expansion." 2020-06-09 15:42:22 +02:00
DraftStore.cpp [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
DraftStore.h [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
ExpectedTypes.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
ExpectedTypes.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
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 [clangd] NFC: Cleanup unused headers and libraries 2020-05-05 11:46:28 +02:00
FileDistance.cpp [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02: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] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
FindSymbols.h [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
FindTarget.cpp [clangd] findExplicitReferences supports goto labels 2020-05-19 16:50:35 +02:00
FindTarget.h [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
Format.cpp [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
Format.h [clangd] Revamp textDocument/onTypeFormatting. 2019-06-10 14:26:21 +00:00
FuzzyMatch.cpp [clangd] Tune the fuzzy-matching algorithm 2019-03-15 14:00:49 +00:00
FuzzyMatch.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
GlobalCompilationDatabase.cpp [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
GlobalCompilationDatabase.h [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
HeaderSourceSwitch.cpp [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02: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] Preserve line information while build PreamblePatch 2020-05-07 12:24:28 +02:00
Hover.cpp [clangd] locateMacroAt handles patched macros 2020-05-29 12:46:54 +02:00
Hover.h [clangd] Add access specifier information to hover contents 2020-05-27 19:36:46 +02:00
IncludeFixer.cpp [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
IncludeFixer.h [clangd] Compute scopes eagerly in IncludeFixer 2019-08-06 11:37:50 +00:00
JSONTransport.cpp [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
ParsedAST.cpp [clangd] Change ParseInputs to store FSProvider rather than VFS 2020-06-08 13:23:55 +02:00
ParsedAST.h [clangd] Run PreambleThread in async mode behind a flag 2020-05-29 13:20:46 +02:00
PathMapping.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
PathMapping.h [clangd] Add path mappings functionality 2020-01-07 12:40:51 +01:00
Preamble.cpp Revert "[clangd] Parse std::make_unique, and emit template diagnostics at expansion." 2020-06-09 15:42:22 +02:00
Preamble.h [clangd] locateMacroAt handles patched macros 2020-05-29 12:46:54 +02:00
Protocol.cpp [clangd] Make version in PublishDiagnosticsParams optional 2020-05-11 10:31:10 +02:00
Protocol.h [clangd] Render code complete documentation as plaintext/markdown. 2020-04-30 19:00:49 +02:00
Quality.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
Quality.h [clangd] Remove unused signature help quality signal. NFC 2019-06-06 08:32:25 +00:00
QueryDriverDatabase.cpp Reland [clangd] Resolve driver symlinks, and look up unknown relative drivers in PATH. 2020-06-09 23:07:28 +02:00
README.md [clangd] Add README pointing to docs, bugtracker etc. NFC 2020-03-12 14:00:08 +01:00
RIFF.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RIFF.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Selection.cpp [clangd] Tidy up SelectionTree dumps with newlines 2020-05-19 01:48:01 +02:00
Selection.h [clangd] Handle go-to-definition in macro invocations where the target appears in the expansion multiple times 2020-03-03 15:52:05 -05:00
SemanticHighlighting.cpp [clangd] Move non-clang base pieces into separate support/ lib. NFCI 2020-04-29 15:57:12 +02:00
SemanticHighlighting.h [clangd] Support textDocument/semanticTokens/edits 2020-04-02 17:38:29 +02:00
SemanticSelection.cpp [clangd] Work around gcc bug after 8f237f9b0 2020-03-26 00:06:54 +01:00
SemanticSelection.h [clangd] Support multiple cursors in selectionRange. 2020-03-25 17:59:09 +01:00
SourceCode.cpp [clangd] Log rather than assert on bad UTF-8. 2020-06-10 11:40:23 +02:00
SourceCode.h [clangd] locateMacroAt handles patched macros 2020-05-29 12:46:54 +02:00
StdSymbolMap.inc [clangd] Add include-mapping for C symbols. 2019-06-21 13:32:18 +00:00
TUScheduler.cpp [clangd][NFC] Explode ReceivedPreamble into a CV 2020-06-09 17:54:32 +02:00
TUScheduler.h [clangd] Run PreambleThread in async mode behind a flag 2020-05-29 13:20:46 +02:00
Transport.h [NFC] Fix typos in Clangd and Clang 2019-12-16 10:54:40 +01:00
URI.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
URI.h [clangd] Simplify the callside of URI::resolve, NFC. 2019-09-23 14:39:37 +00:00
XRefs.cpp [clangd] locateMacroAt handles patched macros 2020-05-29 12:46:54 +02:00
XRefs.h [clangd] Rename FormattedString -> Markup, move to support. NFC 2020-05-02 14:53:47 +02: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: