Name Date Size #Lines LOC

..--

benchmarks/H--230171

fuzzer/H--8850

index/H--12,7569,185

indexer/H--205163

quality/H--411,805411,694

refactor/H--7,3545,133

support/H--3,0901,846

test/H--5,2384,970

tool/H--1,6501,364

unittests/H--56,19447,074

xpc/H--620471

AST.cppH A D14-Oct-202436.3 KiB1,009756

AST.hH A D06-Dec-202211.9 KiB25766

ASTSignals.cppH A D06-Dec-20221.8 KiB5342

ASTSignals.hH A D06-Dec-20221.6 KiB4419

CMakeLists.txtH A D17-Jan-20255.3 KiB223195

ClangdLSPServer.cppH A D05-Dec-202476.7 KiB1,9201,592

ClangdLSPServer.hH A D05-Dec-202415.6 KiB331213

ClangdServer.cppH A D05-Dec-202445.3 KiB1,166957

ClangdServer.hH A D05-Dec-202422.2 KiB517236

CodeComplete.cppH A D15-Jan-2025101.3 KiB2,4381,828

CodeComplete.hH A D07-Oct-202414.2 KiB333128

CodeCompletionStrings.cppH A D26-Apr-202412.3 KiB321206

CodeCompletionStrings.hH A D06-Aug-20233.3 KiB7421

CollectMacros.cppH A D29-Aug-20245.3 KiB151119

CollectMacros.hH A D29-Aug-20244.2 KiB11068

CompileCommands.cppH A D11-Dec-202424.2 KiB662490

CompileCommands.hH A D19-Dec-20234.5 KiB11254

Compiler.cppH A D21-Nov-20246.7 KiB169115

Compiler.hH A D18-Jul-20244.1 KiB9947

Config.cppH A D29-Jun-2020675 2613

Config.hH A D27-Dec-20247.2 KiB187104

ConfigCompile.cppH A D27-Dec-202429 KiB733625

ConfigFragment.hH A D27-Dec-202416.5 KiB354109

ConfigProvider.cppH A D03-Jan-20236.2 KiB182142

ConfigProvider.hH A D26-Feb-20224.6 KiB10839

ConfigYAML.cppH A D27-Dec-202418.2 KiB496427

DecisionForest.cppH A D07-Dec-20223.3 KiB9970

Diagnostics.cppH A D28-Jan-202534.2 KiB962768

Diagnostics.hH A D28-Jan-20257.7 KiB197108

DraftStore.cppH A D08-Jan-20233.9 KiB12892

DraftStore.hH A D08-Jan-20231.9 KiB6635

DumpAST.cppH A D07-Sep-202417 KiB448385

DumpAST.hH A D23-Jan-20222 KiB5215

ExpectedTypes.cppH A D25-Jan-20243.2 KiB9466

ExpectedTypes.hH A D08-Jan-20232.7 KiB6628

FS.cppH A D20-Sep-20244.6 KiB12488

FS.hH A D23-May-20233.1 KiB8227

Feature.cppH A D06-Sep-20241.6 KiB7860

Feature.hH A D05-Aug-20211.2 KiB3712

FeatureModule.cppH A D27-Jun-20221.1 KiB3823

FeatureModule.hH A D08-Jan-20237.9 KiB19190

Features.inc.inH A D12-Dec-2022349 87

FileDistance.cppH A D14-Dec-20237.9 KiB225160

FileDistance.hH A D26-Feb-20224.8 KiB12753

FindSymbols.cppH A D06-Oct-202424.4 KiB659462

FindSymbols.hH A D05-Apr-20202.2 KiB5420

FindTarget.cppH A D21-Jan-202547.7 KiB1,229966

FindTarget.hH A D17-Jan-20259.3 KiB22188

Format.cppH A D30-Jun-202416.8 KiB409277

Format.hH A D26-Feb-20222 KiB5616

FuzzyMatch.cppH A D16-Jan-202315.3 KiB403257

FuzzyMatch.hH A D03-Jan-20235.8 KiB13762

GlobalCompilationDatabase.cppH A D22-Jan-202532 KiB850619

GlobalCompilationDatabase.hH A D22-Jan-20258.1 KiB208118

HeaderSourceSwitch.cppH A D08-Jan-20235.4 KiB152103

HeaderSourceSwitch.hH A D08-Jan-20231.5 KiB3715

Headers.cppH A D27-Dec-202413 KiB340279

Headers.hH A D27-Dec-202411.6 KiB292149

Hover.cppH A D21-Jan-202561.7 KiB1,6751,230

Hover.hH A D22-Oct-20236 KiB15878

IncludeCleaner.cppH A D22-Jul-202420.7 KiB503397

IncludeCleaner.hH A D27-Dec-20242.9 KiB8548

IncludeFixer.cppH A D14-Dec-202323.8 KiB628476

IncludeFixer.hH A D06-Dec-20224.3 KiB10659

InlayHints.cppH A D17-Jan-202545.4 KiB1,137791

InlayHints.hH A D16-Dec-20221.2 KiB3412

JSONTransport.cppH A D09-Mar-202411.4 KiB337263

LSPBinder.hH A D15-Feb-20218.6 KiB224154

ModulesBuilder.cppH A D06-Dec-202416.7 KiB

ModulesBuilder.hH A D12-Nov-20243.6 KiB

ParsedAST.cppH A D28-Jan-202535.5 KiB864603

ParsedAST.hH A D17-Jan-20256.4 KiB16887

PathMapping.cppH A D14-Dec-20237 KiB197162

PathMapping.hH A D03-Jan-20232.9 KiB7432

Preamble.cppH A D28-Jan-202537.7 KiB972720

Preamble.hH A D18-Jul-202410.5 KiB242124

ProjectModules.hH A D22-Jan-20252 KiB

Protocol.cppH A D19-Nov-202456.1 KiB1,7031,496

Protocol.hH A D19-Nov-202472.7 KiB2,060959

Quality.cppH A D25-Sep-202420 KiB573456

Quality.hH A D08-Jan-20238.6 KiB245139

README.mdH A D01-Feb-20211.7 KiB3929

RIFF.cppH A D08-Jul-20202.7 KiB8468

RIFF.hH A D26-Feb-20222.7 KiB8337

ScanningProjectModules.cppH A D22-Jan-20257.6 KiB

ScanningProjectModules.hH A D18-Jul-2024891

Selection.cppH A D11-Jan-202445.7 KiB1,138739

Selection.hH A D21-Jun-20247.3 KiB17254

SemanticHighlighting.cppH A D17-Jan-202558.8 KiB1,5851,275

SemanticHighlighting.hH A D03-Feb-20233.7 KiB13388

SemanticSelection.cppH A D19-Sep-20249.7 KiB275214

SemanticSelection.hH A D04-Aug-20221.7 KiB4216

SourceCode.cppH A D25-Sep-202446.5 KiB1,277986

SourceCode.hH A D11-Mar-202415.4 KiB351123

SystemIncludeExtractor.cppH A D25-Sep-202418.9 KiB542425

TUScheduler.cppH A D05-Dec-202471.9 KiB1,8721,308

TUScheduler.hH A D05-Dec-202415.7 KiB384163

TidyFastChecks.incH A D02-Sep-202417.4 KiB378375

TidyFastChecks.pyH A D17-May-20233.8 KiB12088

TidyProvider.cppH A D05-Nov-202411.9 KiB334252

TidyProvider.hH A D05-Nov-20242.6 KiB7129

Transport.hH A D13-Dec-20224 KiB9941

URI.cppH A D14-Dec-20238.7 KiB281222

URI.hH A D22-Oct-20245.4 KiB13756

XRefs.cppH A D21-Jan-202591.1 KiB2,3271,814

XRefs.hH A D05-Dec-20246.7 KiB16083

README.md

1## clangd
2
3clangd is a language server, and provides C++ IDE features to editors.
4This is not its documentation.
5
6- the **website** is https://clangd.llvm.org/.
7- the **bug tracker** is https://github.com/clangd/clangd/issues
8- the **source code** is hosted at https://github.com/llvm/llvm-project/tree/main/clang-tools-extra/clangd.
9- the **website source code** is at https://github.com/llvm/clangd-www/
10
11### Communication channels
12
13If you have any questions or feedback, you can reach community and developers
14through one of these channels:
15
16- chat: #clangd room hosted on [LLVM's Discord
17  channel](https://discord.gg/xS7Z362).
18- user questions and feature requests can be asked in the clangd topic on [LLVM
19  Discussion Forums](https://llvm.discourse.group/c/llvm-project/clangd/34)
20
21### Building and testing clangd
22
23For a minimal setup on building clangd:
24- Clone the LLVM repo to `$LLVM_ROOT`.
25- Create a build directory, for example at `$LLVM_ROOT/build`.
26- Inside the build directory run: `cmake $LLVM_ROOT/llvm/
27  -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra"`.
28
29  - We suggest building in `Release` mode as building DEBUG binaries requires
30    considerably more resources. You can check
31    [Building LLVM with CMake documentation](https://llvm.org/docs/CMake.html)
32    for more details about cmake flags.
33  - In addition to that using `Ninja` as a generator rather than default `make`
34    is preferred. To do that consider passing `-G Ninja` to cmake invocation.
35  - Finally, you can turn on assertions via `-DLLVM_ENABLE_ASSERTS=On`.
36
37- Afterwards you can build clangd with `cmake --build $LLVM_ROOT/build --target
38  clangd`, similarly run tests by changing target to `check-clangd`.
39