bkryza
I immediately knew I knew it from somewhere, but couldn't figure it out - only after about 20 minutes it hit me - Spaceballs!
I guess these words are to be avoided...
Visualizing modern C++ code using Clang and UML
Compile_commands.json Gallery
This post describes my attempt to generate compile_commands.json database from as many C/C++ build systems as possible (I've managed 17 + plugins). For each build system you can find steps how to setup the same reference Hello World C++17 project, generate the compile_commands.json and verify whether it works with clang-tidy and discusses issues (if any) and how to resolve them.
The list of build systems covered in the post include: B2, Bazel, Buck2, build2, CMake, Clang++, FASTBuild, Make, Meson Build, MSVC, Ninja, Premake, Qbs, SCons, Waf, XCode and xmake.
However, the main difference between clang-uml and Doxygen is that in Doxygen the diagrams are a by-product of generated documentation. clang-uml aims to give you much more control over what you want in your diagrams, without having to use Doxygen or any other documentation tool, which possibly makes it more flexible in how you can use its output.
Obviously, which approach you prefer depends on your use case and needs.
Show HN: Clang-uml – C++ to UML diagram generator based on Clang
https://github.com/bkryza/clang-uml
Hi,clang-uml is an open-source C++ to UML diagram generator, driven by YAML configuration files.The main idea behind the project is to easily maintain up-to-date diagrams within a code-base or document legacy code.The configuration file for clang-uml defines the types and contents of each generated diagram.The diagrams can be currently generated in PlantUML and JSON formats.Main features: -...