What problem does it solve?
LLVM tooling is essential for building custom analysis, refactoring, and debugging utilities for C/C++ projects. This skill provides a structured approach to create tools using LLVM/Clang infrastructure, enabling developers to extend compilers, automate code transformations, and integrate with IDEs.
Core Features & Use Cases
- Clang plugin development: extend Clang's behavior during compilation.
- LibTooling-based tools: standalone utilities for code analysis, refactoring, and transformation.
- LLDB extension development: create debugger commands or custom views.
- Clangd / Language Server Protocol integrations: provide custom code actions, diagnostics.
- Use Case: build tools that analyze and transform codebases, or integrate tooling into IDEs.
Quick Start
Install the LLVM tooling skill and create a simple LibTooling-based tool to enumerate function declarations in a C++ file. Then run the tool against a source file to list function names and locations.