llvm-capstone/clang-tools-extra/clangd
2023-09-11 08:30:06 +00:00
..
benchmarks [clangd] Allow to build Clangd without decision forest 2022-12-07 13:52:22 +01:00
fuzzer [clangd] Fix shared lib builds 2023-01-20 08:57:21 +01:00
index [clangd] Fix buildbot breakages from stemming from 64366d4935 2023-09-11 08:30:06 +00:00
indexer [clangd] Add --query-driver flag to clangd-indexer 2023-08-24 11:51:59 -04:00
quality [NFC][Py Reformat] Reformat python files in clang and clang-tools-extra 2023-05-23 08:29:52 +02:00
refactor [clangd] allow extracting to variable for lambda expressions 2023-09-11 04:03:38 -04:00
support [clangd] Remove unused variable IsBroadcasting 2023-05-29 14:17:03 -07:00
test [clangd] Forward --target to system include extraction (#65824) 2023-09-11 04:11:37 -04:00
tool [clang][clangd] Ensure the stack bottom before building AST 2023-09-02 18:53:06 +08:00
unittests [clangd] allow extracting to variable for lambda expressions 2023-09-11 04:03:38 -04:00
xpc cmake: add missing dependencies on ClangDriverOptions tablegen 2023-08-04 10:27:19 -07:00
AST.cpp [clangd][c++20]Check for correct auto location in DeducedTypeVisitor 2023-07-10 11:33:42 +02:00
AST.h [clangd] Full support for #import insertions 2023-01-09 09:48:30 -05:00
ASTSignals.cpp [clangd] Full support for #import insertions 2023-01-09 09:48:30 -05:00
ASTSignals.h [clangd] Full support for #import insertions 2023-01-09 09:48:30 -05:00
ClangdLSPServer.cpp [clangd] Prefer definitions for gototype and implementation 2023-07-21 14:38:51 +02:00
ClangdLSPServer.h [clangd] Fix a build error for f4f6c229bd 2023-07-18 19:20:06 +02:00
ClangdServer.cpp [clangd] Delete deprecated enumerateTweaks endpoint 2023-09-11 09:09:12 +02:00
ClangdServer.h [clangd] Delete deprecated enumerateTweaks endpoint 2023-09-11 09:09:12 +02:00
CMakeLists.txt [clangd] Fix missing dependency on clang/Driver/Options.inc's tblgen target 2023-05-06 10:11:39 -07:00
CodeComplete.cpp [clang] NFCI: Change returned LanguageOptions pointer to reference 2023-09-05 13:23:53 -07:00
CodeComplete.h [clangd] Add flag to control #import include insertions 2023-01-09 09:48:29 -05:00
CodeCompletionStrings.cpp [clangd] Refine logic on $0 in completion snippets 2023-03-17 17:57:24 +08:00
CodeCompletionStrings.h [clangd] Refine logic on $0 in completion snippets 2023-03-17 17:57:24 +08:00
CollectMacros.cpp [clangd] Store offsets in MacroOccurrence 2023-06-23 09:21:08 +02:00
CollectMacros.h [clangd] Store offsets in MacroOccurrence 2023-06-23 09:21:08 +02:00
CompileCommands.cpp [clang-tools-extra] Use range-based for loops (NFC) 2023-09-02 12:12:16 -07:00
CompileCommands.h [clangd] Move standard options adaptor to CommandMangler 2023-03-17 03:10:36 -07:00
Compiler.cpp [clang] NFCI: Change returned LanguageOptions pointer to reference 2023-09-05 13:23:53 -07:00
Compiler.h [clangd] Full support for #import insertions 2023-01-09 09:48:30 -05:00
Config.cpp
Config.h [clangd] Implement end-definition-comment inlay hints 2023-07-16 01:19:02 +02:00
ConfigCompile.cpp [clangd] Implement end-definition-comment inlay hints 2023-07-16 01:19:02 +02:00
ConfigFragment.h [clangd] Implement end-definition-comment inlay hints 2023-07-16 01:19:02 +02:00
ConfigProvider.cpp [clang-tools-extra] Use std::optional instead of llvm::Optional (NFC) 2023-01-02 16:17:40 -08:00
ConfigProvider.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
ConfigYAML.cpp [clangd] Implement end-definition-comment inlay hints 2023-07-16 01:19:02 +02:00
DecisionForest.cpp [clangd] NFC. Add a newline at the end of the file 2022-12-09 12:31:50 +01:00
Diagnostics.cpp [clangd] Downgrade deprecated warnings to hints 2023-07-04 16:07:08 +02:00
Diagnostics.h [clangd] Add batch fixes for include-cleaner diagnostics 2023-04-27 12:08:59 +02:00
DraftStore.cpp [clang-tools-extra] Use std::optional instead of llvm::Optional (NFC) 2023-01-07 20:19:42 -08:00
DraftStore.h [clang-tools-extra] Use std::optional instead of llvm::Optional (NFC) 2023-01-07 20:19:42 -08:00
DumpAST.cpp [clangd] Support ConceptReference in generic AST wrangling code 2023-09-04 14:58:25 +02:00
DumpAST.h [clang] Forward-declare DynTypedNode (NFC) 2022-01-23 13:28:04 -08:00
ExpectedTypes.cpp [clang-tools-extra] Use std::optional instead of llvm::Optional (NFC) 2023-01-07 20:19:42 -08:00
ExpectedTypes.h [clang-tools-extra] Use std::optional instead of llvm::Optional (NFC) 2023-01-07 20:19:42 -08:00
Feature.cpp [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
Feature.h
FeatureModule.cpp Don't use Optional::hasValue (NFC) 2022-06-26 19:54:41 -07:00
FeatureModule.h [clang-tools-extra] Use std::optional instead of llvm::Optional (NFC) 2023-01-07 20:19:42 -08:00
Features.inc.in [clangd] Fix a typo "Features.h" => "Feature.h" in IWYU pragma. 2022-12-12 13:46:19 +01:00
FileDistance.cpp [llvm] Add missing StringExtras.h includes 2023-06-25 15:42:22 +01:00
FileDistance.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
FindSymbols.cpp [clangd] Remove reundant use of getSpellingLoc() 2023-03-20 14:52:10 -04:00
FindSymbols.h
FindTarget.cpp [clangd] Support ConceptReference in generic AST wrangling code 2023-09-04 14:58:25 +02:00
FindTarget.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
Format.cpp [clangd] Handle tabs in getIncrementalChangesAfterNewline() 2022-03-29 01:43:09 -04:00
Format.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
FS.cpp [clangd] Store paths as requested in PreambleStatCache 2023-05-23 14:30:58 +02:00
FS.h [clangd] Store paths as requested in PreambleStatCache 2023-05-23 14:30:58 +02:00
FuzzyMatch.cpp [llvm][ADT] Replace uses of makeMutableArrayRef with deduction guides 2023-01-16 14:49:37 -07:00
FuzzyMatch.h [clang-tools-extra] Use std::optional instead of llvm::Optional (NFC) 2023-01-02 16:17:40 -08:00
GlobalCompilationDatabase.cpp [clangd] Move standard options adaptor to CommandMangler 2023-03-17 03:10:36 -07:00
GlobalCompilationDatabase.h [clang-tools-extra] Remove remaining uses of llvm::Optional (NFC) 2023-01-07 20:34:53 -08:00
Headers.cpp [clang][HeaderSearch] Treat framework headers as Angled for suggestPath 2023-08-09 15:51:02 -04:00
Headers.h [clangd] Loose include-cleaner matching for verbatim headers 2023-07-27 19:20:53 +02:00
HeaderSourceSwitch.cpp [clang-tools-extra] Use std::optional instead of llvm::Optional (NFC) 2023-01-07 20:19:42 -08:00
HeaderSourceSwitch.h [clang-tools-extra] Remove remaining uses of llvm::Optional (NFC) 2023-01-07 20:34:53 -08:00
HeuristicResolver.cpp [clangd] Do not ignore qualifier in heuristic resolution of dependent MemberExpr 2023-08-25 16:54:29 -04:00
HeuristicResolver.h [clangd] Use resolveTypeToRecordDecl() to resolve the type of a base specifier during heuristic resolution 2023-06-20 13:40:26 -04:00
Hover.cpp [include-cleaner] Filter references to identity macros 2023-08-18 14:40:03 +02:00
Hover.h [clangd] Show size, offset and padding for bit fields on hover 2023-06-05 17:52:34 +02:00
IncludeCleaner.cpp [clang][tools] Use FileEntryRef in include_cleaner::Header 2023-09-09 09:54:13 -07:00
IncludeCleaner.h [clangd] Loose include-cleaner matching for verbatim headers 2023-07-27 19:20:53 +02:00
IncludeFixer.cpp [clangd] Include the correct header for typeid() 2023-01-09 18:07:07 -05:00
IncludeFixer.h [clangd] Full support for #import insertions 2023-01-09 09:48:30 -05:00
InlayHints.cpp [clangd] Show parameter hints for operator() 2023-09-10 15:56:00 +08:00
InlayHints.h JSON: llvm::Optional => std::optional 2022-12-16 07:56:52 +00:00
JSONTransport.cpp [clang-tools-extra] Use std::optional instead of llvm::Optional (NFC) 2023-01-07 20:19:42 -08:00
LSPBinder.h
ParsedAST.cpp [clang] NFCI: Change returned LanguageOptions pointer to reference 2023-09-05 13:23:53 -07:00
ParsedAST.h [clangd] Update symbol collector to use include-cleaner. 2023-07-19 13:47:02 +00:00
PathMapping.cpp [clang-tools-extra] Use std::optional instead of llvm::Optional (NFC) 2023-01-02 16:17:40 -08:00
PathMapping.h [clang-tools-extra] Use std::optional instead of llvm::Optional (NFC) 2023-01-02 16:17:40 -08:00
Preamble.cpp [clang] NFCI: Change returned LanguageOptions pointer to reference 2023-09-05 13:23:53 -07:00
Preamble.h [clangd] Update symbol collector to use include-cleaner. 2023-07-19 13:47:02 +00:00
Protocol.cpp [clangd] Implement end-definition-comment inlay hints 2023-07-16 01:19:02 +02:00
Protocol.h [clangd] Fix typo in comment 2023-08-14 20:07:58 +02:00
Quality.cpp Use llvm::bit_cast (NFC) 2023-02-14 01:22:12 -08:00
Quality.h [clang-tools-extra] Use std::optional instead of llvm::Optional (NFC) 2023-01-07 20:19:42 -08:00
README.md
RIFF.cpp
RIFF.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
Selection.cpp [clangd] Support ConceptReference in generic AST wrangling code 2023-09-04 14:58:25 +02:00
Selection.h
SemanticHighlighting.cpp [c++20][clangd] Simplify code using the new ConceptReference nodes. 2023-08-31 13:53:56 +02:00
SemanticHighlighting.h [clangd] Add semantic token for labels 2023-06-07 12:28:06 +02:00
SemanticSelection.cpp [llvm][ADT] Replace uses of makeMutableArrayRef with deduction guides 2023-01-16 14:49:37 -07:00
SemanticSelection.h FoldingRanges: Handle LineFoldingsOnly clients. 2022-08-29 19:03:48 +02:00
SourceCode.cpp [clangd] Use xxh3_64bits for background index file digests 2023-07-25 16:02:54 -07:00
SourceCode.h [clangd] Fix the range for include reference to itself. 2023-07-14 12:51:14 +00:00
SystemIncludeExtractor.cpp [clangd] Forward --target to system include extraction (#65824) 2023-09-11 04:11:37 -04:00
TidyFastChecks.inc [clangd] Add script to maintain list of fast clang-tidy checks 2022-11-28 14:29:23 +01:00
TidyFastChecks.py [NFC][Py Reformat] Reformat python files in clang and clang-tools-extra 2023-05-23 08:29:52 +02:00
TidyProvider.cpp [clang-tidy] Implement an include-cleaner check. 2023-06-02 15:21:20 +00:00
TidyProvider.h [clangd] Clean up unused includes. NFCI 2022-02-26 12:00:16 +01:00
Transport.h [clangd] Fix some header guard names, NFC 2022-12-13 10:00:51 +01:00
TUScheduler.cpp [clang][clangd] Ensure the stack bottom before building AST 2023-09-02 18:53:06 +08:00
TUScheduler.h [clangd] Update symbol collector to use include-cleaner. 2023-07-19 13:47:02 +00:00
URI.cpp Use llvm::all_of (NFC) 2022-08-14 16:25:36 -07:00
URI.h
XRefs.cpp [clangd] Avoid null result in FindRecordTypeAt() 2023-08-25 11:50:19 -04:00
XRefs.h [clangd] Use index for go-to-type 2023-07-21 23:10:33 +02:00

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:

Building and testing clangd

For a minimal setup on building clangd:

  • Clone the LLVM repo to $LLVM_ROOT.

  • Create a build directory, for example at $LLVM_ROOT/build.

  • Inside the build directory run: cmake $LLVM_ROOT/llvm/ -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra".

    • We suggest building in Release mode as building DEBUG binaries requires considerably more resources. You can check Building LLVM with CMake documentation for more details about cmake flags.
    • In addition to that using Ninja as a generator rather than default make is preferred. To do that consider passing -G Ninja to cmake invocation.
    • Finally, you can turn on assertions via -DLLVM_ENABLE_ASSERTS=On.
  • Afterwards you can build clangd with cmake --build $LLVM_ROOT/build --target clangd, similarly run tests by changing target to check-clangd.