文件最后提交记录最后更新时间
[clangd] Allow to build Clangd without decision forest3 年前
[clangd] Fix shared lib builds3 年前
[Support] Move raw_ostream::tie to raw_fd_ostream (#97396)1 年前
[clangd] Add --query-driver flag to clangd-indexer2 年前
[NFC][Py Reformat] Reformat python files in clang and clang-tools-extra3 年前
[clangd] Fix crash with null check for Token at Loc (#94528)1 年前
[clangd] Use std::make_unique (NFC) (#97915)1 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clang-tidy] Avoid capturing a local variable in a static lambda in UseRangesCheck (#111282)1 年前
[clangd] Make sure ninja can clean "ClangdXPC.framework" (#75669)2 年前
Reapply "[Clang] Unify interface for accessing template arguments as written for class/variable template specializations (#81642)" (#91393)2 年前
[clangd] Full support for #import insertions3 年前
[clangd] Full support for #import insertions3 年前
[clangd] Full support for #import insertions3 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] Avoid using CompletionItemKind.Text for macro completions from the index (#88236)2 年前
[clangd] Add flag to control #import include insertions3 年前
LLVM_FALLTHROUGH => [[fallthrough]]. NFC2 年前
[clangd][CodeComplete] Improve FunctionCanBeCall2 年前
[clangd] Store offsets in MacroOccurrence2 年前
[clangd] Store offsets in MacroOccurrence2 年前
Reland "[flang][clang] Add Visibility specific help text for options (#81869)"2 年前
[clangd] Expand response files before CDB interpolation (#75753)2 年前
[clang] NFCI: Change returned LanguageOptions pointer to reference2 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] config() -> Config::current to avoid confict with NS5 年前
[clangd] Add config option to allow detection of unused angled includes (#87208)2 年前
[clangd] Add config option to allow detection of unused angled includes (#87208)2 年前
[clangd] Add config option to allow detection of unused angled includes (#87208)2 年前
[clang-tools-extra] Use std::optional instead of llvm::Optional (NFC)3 年前
[clangd] Clean up unused includes. NFCI4 年前
[clangd] Add config option to allow detection of unused angled includes (#87208)2 年前
[clangd] NFC. Add a newline at the end of the file3 年前
[clangd] Use SmallString::operator std::string (NFC)2 年前
[clangd] Add batch fixes for include-cleaner diagnostics3 年前
[clang-tools-extra] Use std::optional instead of llvm::Optional (NFC)3 年前
[clang-tools-extra] Use std::optional instead of llvm::Optional (NFC)3 年前
[c++20] P1907R1: Support for generalized non-type template arguments of scalar type. (#78041)2 年前
[clang] Forward-declare DynTypedNode (NFC)4 年前
[clangd] Use SmallString::operator std::string (NFC)2 年前
[clang-tools-extra] Use std::optional instead of llvm::Optional (NFC)3 年前
[clangd] Use SmallString::operator std::string (NFC)2 年前
[clangd] Store paths as requested in PreambleStatCache3 年前
[NFC][TargetParser] Replace uses of llvm/Support/Host.h3 年前
[clangd] Rename Features.h -> Feature.h to avoid confilct with libstdc++4 年前
Don't use Optional::hasValue (NFC)3 年前
[clang-tools-extra] Use std::optional instead of llvm::Optional (NFC)3 年前
[clangd] Fix a typo "Features.h" => "Feature.h" in IWYU pragma.3 年前
[clangd] Use StringRef::{starts,ends}_with (NFC)2 年前
[clangd] Clean up unused includes. NFCI4 年前
[clangd] Fix crash with null check for Token at Loc (#94528)1 年前
[clang-tools-extra] NFC: Fix trivial typo in documents and comments6 年前
[c++20] P1907R1: Support for generalized non-type template arguments of scalar type. (#78041)2 年前
[clangd] Clean up unused includes. NFCI4 年前
[clangd] Revert the change concerning new lines1 年前
[clangd] Clean up unused includes. NFCI4 年前
[llvm][ADT] Replace uses of makeMutableArrayRef with deduction guides3 年前
[clang-tools-extra] Use std::optional instead of llvm::Optional (NFC)3 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clang-tools-extra] Use std::optional instead of llvm::Optional (NFC)3 年前
[clang-tools-extra] Remove remaining uses of llvm::Optional (NFC)3 年前
[clang][lex] Always pass suggested module to InclusionDirective() callback (#81061)2 年前
[clangd] Loose include-cleaner matching for verbatim headers2 年前
[clangd] [HeuristicResolver] Protect against infinite recursion on DependentNameTypes (#83542)2 年前
[clangd] [HeuristicResolver] Protect against infinite recursion on DependentNameTypes (#83542)2 年前
[clang] NFCI: use TemplateArgumentLoc for NTTP DefaultArgument (#92852)2 年前
[clangd] Show alignment for records and fields decls (#67213)2 年前
[IncludeCleaner] Also check for spellings of physical headers (#99843)1 年前
[clangd] Add config option to allow detection of unused angled includes (#87208)2 年前
[clangd] Use StringRef::{starts,ends}_with (NFC)2 年前
[clangd] Full support for #import insertions3 年前
[clangd] Support go-to-definition on type hints. The protocol part (#85497)2 年前
JSON: llvm::Optional => std::optional3 年前
[llvm][Support] Add and use errnoAsErrorCode (#84423)2 年前
[clangd] Bind outgoing calls through LSPBinder too. NFC5 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] Track IWYU pragmas for non-preamble includes (#75612)2 年前
[clangd] Use StringRef::{starts,ends}_with (NFC)2 年前
[clang-tools-extra] Use std::optional instead of llvm::Optional (NFC)3 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] Support go-to-definition on type hints. The protocol part (#85497)2 年前
[clangd] Support go-to-definition on type hints. The protocol part (#85497)2 年前
[clang][NFC] Refactor clang::Linkage (#71049)2 年前
[clang-tools-extra] Use std::optional instead of llvm::Optional (NFC)3 年前
[Branch-Rename] Fix some links5 年前
[clangd] Add error() function for creating formatv-style llvm::Errors. NFC5 年前
[clangd] Clean up unused includes. NFCI4 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] [C++20] [Modules] Introduce initial support for C++20 Modules (#66462)1 年前
[clangd] Handle lambda scopes inside Node::getDeclContext() (#76329)2 年前
[VFS] Avoid <stack> include (NFC)1 年前
[clangd] Fix crash with null check for Token at Loc (#94528)1 年前
[clangd] Add semantic token for labels2 年前
[llvm][ADT] Replace uses of makeMutableArrayRef with deduction guides3 年前
FoldingRanges: Handle LineFoldingsOnly clients.3 年前
[clangd] Avoid libFormat's objective-c guessing heuristic where possible (#84133)2 年前
[clangd] Avoid libFormat's objective-c guessing heuristic where possible (#84133)2 年前
[clangd] Use StringRef::{starts,ends}_with (NFC)2 年前
[clang][clangd] Ensure the stack bottom before building AST2 年前
[clangd] Update symbol collector to use include-cleaner.2 年前
[clangd] Update TidyFastChecks for release/19.x (#106354)1 年前
[NFC][Py Reformat] Reformat python files in clang and clang-tools-extra3 年前
[llvm-project] Fix typo "seperate" (#95373)1 年前
[clangd] Don't run slow clang-tidy checks by default2 年前
[clangd] Fix some header guard names, NFC3 年前
[clangd] Use StringRef::{starts,ends}_with (NFC)2 年前
[clangd] cleanup of header guard names4 年前
[clangd] Fix crash with null check for Token at Loc (#94528)1 年前
[clangd] Use index for go-to-type2 年前
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:

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.