• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

benchmarks/H03-May-2022-208154

fuzzer/H03-May-2022-6126

include-mapping/H20-Jan-2022-447313

index/H20-Jan-2022-11,8908,591

indexer/H03-May-2022-149112

quality/H20-Jan-2022-411,783411,672

refactor/H20-Jan-2022-5,2813,594

support/H03-May-2022-2,9291,775

test/H03-May-2022-3,9203,694

tool/H03-May-2022-1,2871,072

unittests/H03-May-2022-43,91336,552

xpc/H03-May-2022-542408

AST.cppH A D20-Jan-202218.8 KiB538408

AST.hH A D20-Jan-20228.5 KiB18448

ASTSignals.cppH A D20-Jan-20221.5 KiB4635

ASTSignals.hH A D20-Jan-20221.4 KiB4016

CSymbolMap.incH A D20-Jan-202232.7 KiB945943

ClangdLSPServer.cppH A D20-Jan-202266.7 KiB1,6841,387

ClangdLSPServer.hH A D20-Jan-202213.4 KiB297187

ClangdServer.cppH A D20-Jan-202237.8 KiB996825

ClangdServer.hH A D20-Jan-202218.9 KiB431184

CodeComplete.cppH A D20-Jan-202283.9 KiB2,0581,559

CodeComplete.hH A D20-Jan-202213.5 KiB325126

CodeCompletionStrings.cppH A D20-Jan-202210.6 KiB281184

CodeCompletionStrings.hH A D20-Jan-20223 KiB6820

CollectMacros.cppH A D20-Jan-20221.1 KiB3523

CollectMacros.hH A D20-Jan-20223.5 KiB10671

CompileCommands.cppH A D20-Jan-202221.3 KiB587451

CompileCommands.hH A D20-Jan-20224.6 KiB11353

Compiler.cppH A D20-Jan-20225.7 KiB14499

Compiler.hH A D20-Jan-20223.5 KiB8844

Config.cppH A D20-Jan-2022675 2613

Config.hH A D20-Jan-20225.1 KiB14275

ConfigCompile.cppH A D20-Jan-202219.1 KiB538443

ConfigFragment.hH A D20-Jan-202211.1 KiB26283

ConfigProvider.cppH A D20-Jan-20226.2 KiB182142

ConfigProvider.hH A D20-Jan-20224.7 KiB11041

ConfigYAML.cppH A D20-Jan-202214.2 KiB393330

Diagnostics.cppH A D20-Jan-202228.2 KiB827653

Diagnostics.hH A D20-Jan-20227.2 KiB189104

DraftStore.cppH A D20-Jan-20223.9 KiB12993

DraftStore.hH A D20-Jan-20221.9 KiB6635

DumpAST.cppH A D20-Jan-202216.3 KiB432371

DumpAST.hH A D20-Jan-20221.9 KiB5114

ExpectedTypes.cppH A D20-Jan-20223.3 KiB9769

ExpectedTypes.hH A D20-Jan-20222.6 KiB6527

FS.cppH A D20-Jan-20224.5 KiB12286

FS.hH A D20-Jan-20223.1 KiB8126

FeatureModule.cppH A D20-Jan-20221.1 KiB3823

FeatureModule.hH A D20-Jan-20227.6 KiB18588

Features.cppH A D20-Jan-20221.5 KiB7457

Features.hH A D20-Jan-20221,019 3412

Features.inc.inH A D20-Jan-2022294 76

FileDistance.cppH A D20-Jan-20227.8 KiB222157

FileDistance.hH A D20-Jan-20225 KiB13258

FindSymbols.cppH A D20-Jan-202219.9 KiB537376

FindSymbols.hH A D20-Jan-20222.2 KiB5420

FindTarget.cppH A D20-Jan-202245.4 KiB1,168918

FindTarget.hH A D20-Jan-20229.4 KiB22491

Format.cppH A D20-Jan-202215.7 KiB380257

Format.hH A D20-Jan-20222 KiB5717

FuzzyMatch.cppH A D20-Jan-202215.3 KiB402256

FuzzyMatch.hH A D20-Jan-20225.8 KiB13762

GlobalCompilationDatabase.cppH A D20-Jan-202230 KiB836615

GlobalCompilationDatabase.hH A D20-Jan-20227.3 KiB203115

HeaderSourceSwitch.cppH A D20-Jan-20225.5 KiB154105

HeaderSourceSwitch.hH A D20-Jan-20221.5 KiB3715

Headers.cppH A D20-Jan-202210 KiB281228

Headers.hH A D20-Jan-20228.6 KiB209105

HeuristicResolver.cppH A D20-Jan-20229.2 KiB269196

HeuristicResolver.hH A D20-Jan-20224.2 KiB10446

Hover.cppH A D20-Jan-202243.4 KiB1,180865

Hover.hH A D20-Jan-20224.8 KiB12757

IncludeFixer.cppH A D20-Jan-202216.8 KiB457342

IncludeFixer.hH A D20-Jan-20223.8 KiB9954

InlayHints.cppH A D20-Jan-202212.7 KiB350219

InlayHints.hH A D20-Jan-20221 KiB3211

JSONTransport.cppH A D20-Jan-202211.3 KiB333261

LSPBinder.hH A D20-Jan-20228.6 KiB224154

ParsedAST.cppH A D20-Jan-202224.4 KiB606433

ParsedAST.hH A D20-Jan-20226 KiB16186

PathMapping.cppH A D20-Jan-20227.1 KiB198163

PathMapping.hH A D20-Jan-20222.7 KiB6829

Preamble.cppH A D20-Jan-202222.5 KiB579433

Preamble.hH A D20-Jan-20226.5 KiB15064

Protocol.cppH A D20-Jan-202246.3 KiB1,4551,270

Protocol.hH A D20-Jan-202262.5 KiB1,779847

Quality.cppH A D20-Jan-202222.5 KiB637507

Quality.hH A D20-Jan-20228.7 KiB247140

QueryDriverDatabase.cppH A D20-Jan-202213 KiB372293

README.mdH A D20-Jan-20221.7 KiB3929

RIFF.cppH A D20-Jan-20222.7 KiB8468

RIFF.hH A D20-Jan-20222.7 KiB8438

Selection.cppH A D20-Jan-202235.5 KiB904592

Selection.hH A D20-Jan-20227.3 KiB17153

SemanticHighlighting.cppH A D20-Jan-202235.1 KiB945754

SemanticHighlighting.hH A D20-Jan-20223.1 KiB11270

SemanticSelection.cppH A D20-Jan-20226.2 KiB169125

SemanticSelection.hH A D20-Jan-20221.4 KiB3613

SourceCode.cppH A D20-Jan-202242.3 KiB1,178925

SourceCode.hH A D20-Jan-202214.3 KiB327112

StdSymbolMap.incH A D20-Jan-202260.5 KiB1,5391,537

TUScheduler.cppH A D20-Jan-202264.5 KiB1,6891,186

TUScheduler.hH A D20-Jan-202214.4 KiB354154

TidyProvider.cppH A D20-Jan-202211.3 KiB307234

TidyProvider.hH A D20-Jan-20222.4 KiB6829

Transport.hH A D20-Jan-20224 KiB9941

URI.cppH A D20-Jan-20228.8 KiB284225

URI.hH A D20-Jan-20225.4 KiB13756

XRefs.cppH A D20-Jan-202274.8 KiB1,9901,531

XRefs.hH A D20-Jan-20225.8 KiB14577

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