摘要: LLVM 命令行处理 以下是一个结合 cl::opt、cl::list、cl::sub 的 复杂命令行接口样例,模拟一个类似 git 的工具,支持子命令、多参数、标志选项和位置参数: #include "llvm/Support/CommandLine.h" #include <iostream> 阅读全文
posted @ 2025-04-27 14:58 michaelchengjl 阅读(50) 评论(0) 推荐(0)