ClangIR — Clang 23.1.0 documentation

# Clang 23.1.0 documentation

## ClangIR

Warning

The project of upstreaming ClangIR support from the incubator repository is still in progress, and ClangIR is not included in a default clang build. The documentation may be incomplete and out-of-date.

ClangIR is a high-level representation in Clang that reflects aspects of the C/C++ languages and their extensions. It is implemented using MLIR and occupies a position between Clang’s AST and LLVM IR.

## ClangIR Design Documents

- 1. ClangIR ABI Lowering Design Document
- 2. ClangIR Cleanup and Exception Handling Design
- 3. ClangIR Code Duplication Roadmap