摘要:
一、llvm提取程序ast树 1.1、源代码 //main.c #include <iostream> #include "StaticMath.h" #include "DynamicMath.h" int main() { double a=1.2; double b=2.4; std::cou 阅读全文
posted @ 2022-09-13 17:09
Stellan7
阅读(1972)
评论(0)
推荐(0)
摘要:
1、antlr4的官方文档 https://github.com/antlr/antlr4 2、解析语法网址 https://github.com/antlr/grammars-v4 阅读全文
posted @ 2022-09-13 16:50
Stellan7
阅读(105)
评论(0)
推荐(0)
摘要:
一、cmake链接静态库&动态库 1.1、项目目录 ./sample7 +-- CMakeLists.txt +-- build/ +-- src/ +-- CMakeLists.txt +-- main.cpp +-- lib/ +-- libmath.a +-- libmath.dylib +- 阅读全文
posted @ 2022-09-13 16:45
Stellan7
阅读(10424)
评论(0)
推荐(1)
摘要:
一、Commitlint安装 https://github.com/conventional-changelog/commitlint/ 1.1、Commitlint 是什么 我们运行 git commmit -m 'xxx' 时,用来检查 xxx 是否满足固定格式的工具。 1.2、安装 npm i 阅读全文
posted @ 2022-09-13 15:43
Stellan7
阅读(154)
评论(0)
推荐(0)
摘要:
一、生成compile_commands.json 1.1、compile_commands.json内容 cmake生成compile_commands.jsons https://blog.csdn.net/qq_23599965/article/details/90697236 方法 CMak 阅读全文
posted @ 2022-09-13 15:22
Stellan7
阅读(4109)
评论(0)
推荐(0)

浙公网安备 33010602011771号