随笔分类 - 实习总结
实习的收获
摘要:一、gtest简介 gtest是一个跨平台(Liunx、Mac OS X、Windows、Cygwin、Windows CE and Symbian)的C++测试框架,有google公司发布。gtest测试框架是在不同平台上为编写C++测试而生成的。 gtest下载网站 https://github
阅读全文
摘要:https://blog.csdn.net/hatter110/article/details/107282775 https://xinhuang.github.io/posts/2015-02-08-clang-tutorial-the-ast-matcher.html
阅读全文
摘要:https://llvm.org/docs/WritingAnLLVMPass.html https://zhuanlan.zhihu.com/p/122522485
阅读全文
摘要:参考资料 https://clang.llvm.org/docs/RAVFrontendAction.html llvm-project源代码 https://github.com/llvm/llvm-project 1、介绍 在本教程中,您将学习如何使用一个RecursiveASTVisitor创
阅读全文
摘要:一、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
阅读全文
摘要:1、antlr4的官方文档 https://github.com/antlr/antlr4 2、解析语法网址 https://github.com/antlr/grammars-v4
阅读全文
摘要:一、Commitlint安装 https://github.com/conventional-changelog/commitlint/ 1.1、Commitlint 是什么 我们运行 git commmit -m 'xxx' 时,用来检查 xxx 是否满足固定格式的工具。 1.2、安装 npm i
阅读全文
摘要:一、生成compile_commands.json 1.1、compile_commands.json内容 cmake生成compile_commands.jsons https://blog.csdn.net/qq_23599965/article/details/90697236 方法 CMak
阅读全文
