1 个仓库
Tools that rewrite C++ source code into an expanded version to reveal implicit compiler operations.
Distinct from Go Source-to-Source Transformers: Specifically targets C++ language expansion for visualization, unlike Go-specific DI wiring transformers.
Explore 1 awesome GitHub repository matching programming languages & runtimes · C++ Source-to-Source Transformers. Refine with filters or upvote what's useful.
cppinsights 是一个 C++ 编译器可视化和静态分析工具,使用 Clang 前端将源代码解析为抽象语法树。它作为一个源到源 (source-to-source) 转换器,重写 C++ 代码,使隐式编译器行为和隐藏操作变得明确且可见。 该工具专门用于展开复杂的语言结构,例如扩展协程的内部机制以可视化挂起和恢复逻辑。它还揭示了模板实例化期间生成的实际代码,并将隐式编译器操作(包括结构化绑定和特殊成员函数)转换为显式源代码表示。 其他功能包括 using 语句的解析以及 C++ 类继承层次结构的结构图生成。
Rewrites original C++ code into an expanded version by replacing implicit compiler operations with explicit statements.