ykiko 2d193d80cd fix: adapt clice source code for LLVM 22.1 API changes
Major LLVM 22.1 breaking changes addressed:
- NestedNameSpecifier changed from pointer to value type
- ElaboratedType removed (merged into individual type nodes)
- DependentTemplateSpecializationType merged into TemplateSpecializationType
- TreeTransform overrides now require additional parameters
- TagDecl::getTypeForDecl() removed, use ASTContext::getTagType()
- InjectedClassNameType::getInjectedSpecializationType() removed
- TypedefTypeLoc::getTypedefNameDecl() renamed to getDecl()
- AnonymousTagLocations renamed to AnonymousTagNameStyle
- DIAG macro expanded from 11 to 13 parameters
- Header moves: clang/Driver/Options.h → clang/Options/Options.h
- ClangTidyModuleRegistry.h renamed to ClangTidyModule.h
- createDiagnostics/createFileManager API changes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-22 23:37:42 +08:00
2025-09-05 23:11:39 +08:00

clice

C++ Standard GitHub license Actions status Documentation Ask DeepWiki Discord

clice is a next-generation language server designed for modern C++. Through excellent asynchronous task scheduling and intelligent caching, it achieves a lower memory footprint and faster response times.

Beyond performance, clice provides instantiation-aware template processing, supports switching header contexts between different source files (including non-self-contained headers), and offers comprehensive support for C++20 modules, from code completion to go-to-definition. Our goal is to provide C++ developers with a truly fast, precise, and intelligent development companion.

Important

Support for header contexts and C++20 modules are core features currently under active development. They will be progressively refined in upcoming releases. Stay tuned!

Getting started

Download the latest clice binary from the releases page and install the vscode extension. Then, add the following configuration to your .vscode/settings.json file:

{
  // Optional: Set this to an empty string to turn off the clangd.
  "clangd.path": "",

  // Point this to the clice binary you downloaded.
  "clice.executable": "/path/to/your/clice/executable",
}

Note

As an early version, please do not use it in a production environment. Crashes are expected, and we welcome you to submit issues.

Documentation

To learn more about building, installing, and configuring clice, or to dive deep into its features and architecture, please visit our official documentation at clice.io.

Description
A next-generation C++ language server for modern C++, focused on high performance and deep code intelligence
Readme Apache-2.0 12 MiB
Languages
C++ 85.8%
Python 11.2%
CMake 1.5%
TypeScript 0.9%
Shell 0.2%