clang-uml

Generate UML diagrams from C++ source code using Clang

brewmacoslinux
Try with needOr install directly
Source

About

Customizable automatic UML diagram generator for C++ based on Clang

Commands

clang-uml

Examples

Generate class diagram from a C++ project$ clang-uml -c .clang-uml -o diagrams/
Generate sequence diagram for a specific file$ clang-uml -c .clang-uml -g sequence -f myfile.cpp
Generate all diagram types defined in config file$ clang-uml -c .clang-uml --validate