What problem does it solve?
It helps you design and implement developer tooling that performs accurate source-level analysis, debugging assistance, and IDE-ready language features using LLVM and Clang infrastructure.
Core Features & Use Cases
- Clang plugin development: Extend Clang during compilation by traversing the AST and emitting diagnostics or transforming behavior.
- LibTooling for standalone analyzers: Build command-line tools that run AST matchers over translation units and produce structured results.
- LLDB extension development: Add custom LLDB commands and scripted processes to inspect state and streamline debugging workflows.
- Clangd/LSP integration: Provide editor experiences via LSP features like code actions and custom configuration for consistent diagnostics.
Quick Start
Run an AST-matcher-based LibTooling analysis over a C/C++ file by compiling the tool against LLVM/Clang and executing it with the same include paths and compile flags as your project.