clang-uml
« Back to VersTracker
Description:
Customizable automatic UML diagram generator for C++ based on Clang
Type: Formula  |  Latest Version: 0.6.2@1  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: uml c++ diagrams clang visualization reverse-engineering
Install: brew install clang-uml
About:
clang-uml leverages the Clang compiler frontend to parse C++ source code and generate detailed UML diagrams, including class, sequence, and package diagrams. It allows developers to visualize complex codebases without manual effort, ensuring diagrams stay synchronized with the actual code. The tool is highly configurable via YAML files, enabling customization of diagram content and style.
Key Features:
  • Supports PlantUML, Mermaid, and JSON output formats
  • Generates class, sequence, and package diagrams automatically
  • Highly configurable via YAML for filtering and styling
  • Integrates with Clang for accurate C++ parsing
Use Cases:
  • Visualizing legacy C++ codebases for better understanding
  • Generating up-to-date documentation for software architecture
  • Reverse engineering class relationships and call sequences
Alternatives:
  • Doxygen – Doxygen generates UML via Graphviz but requires more configuration for diagrams; clang-uml is more focused and configurable for specific UML needs.
  • Code2Flow – Code2Flow focuses on Python/JS/Go; clang-uml is specialized for C++ using Clang for precise parsing.
License: Apache-2.0
Dependencies: llvm, yaml-cpp
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Nov 16, 2025 6:27pm 1 VERSION_BUMP 5a8f39cc
Sep 12, 2025 8:00pm 1 VERSION_BUMP f31497f9
Nov 26, 2024 2:44pm 0 VERSION_BUMP b98da671
Oct 2, 2024 6:45pm 0 VERSION_BUMP f435a1c3