当前位置:网站首页>To sort out messy header files, I use include what you use
To sort out messy header files, I use include what you use
2022-07-04 19:22:00 【InfoQ】
background
brief introduction
install
cd llvm-project
git checkout llvmorg-14.0.0
cd llvm-project
mkdir build && cd build
cmake -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_BUILD_TYPE=Release -G “Unix Makefiles” …/llvm
make -j48
IWYU install
git checkeout clang_14
mkdir build && cd build
cmake -G “Unix Makefiles” -DCMAKE_PREFIX_PATH=…/llvm/llvm-project/llvm/ …/include-what-you-use/
cd …/include-what-you-use/
make -j48
ln -s /the/path/of/include-what-you-use/bin/include-what-you-use /usr/bin/iwyu
Use
- Set up compiler
- Set compilation options
- Compile the project
- The result processing
- [1] IWYU Home page
- [2] Clang Build guidance
边栏推荐
- The 15th youth informatics competition in Shushan District in 2019
- The CDC of sqlserver can read the data for the first time, but it can't read the data after adding, deleting and modifying. What's the reason
- Scala basic tutorial -- 12 -- Reading and writing data
- 2019年蜀山区第十五届青少年信息学竞赛
- 2022健康展,北京健博会,中国健康展,大健康展11月13日
- Lex and yacc based lexical analyzer + parser
- C#实现定义一套中间SQL可以跨库执行的SQL语句(案例详解)
- Download the first Tencent technology open day course essence!
- Detailed explanation of issues related to SSL certificate renewal
- Bi skills - permission axis
猜你喜欢
用实际例子详细探究OpenCV的轮廓绘制函数drawContours()
Scala基础教程--19--Actor
BI技巧丨权限轴
How to modify icons in VBS or VBE
How is the entered query SQL statement executed?
Scala basic tutorial -- 18 -- set (2)
redis分布式锁的8大坑总结梳理
更安全、更智能、更精致,长安Lumin完虐宏光MINI EV?
Use canal and rocketmq to listen to MySQL binlog logs
Learning path PHP -- phpstudy "hosts file does not exist or is blocked from opening" when creating the project
随机推荐
MXNet对GoogLeNet的实现(并行连结网络)
Wireshark packet capturing TLS protocol bar displays version inconsistency
How is the entered query SQL statement executed?
Unity editor extends C to traverse all pictures in folders and subdirectories
LeetCode第300场周赛(20220703)
Scala basic tutorial -- 13 -- advanced function
神经网络物联网应用技术学什么
使用canal配合rocketmq监听mysql的binlog日志
2022CoCa: Contrastive Captioners are Image-Text Fountion Models
Don't just learn Oracle and MySQL!
更安全、更智能、更精致,长安Lumin完虐宏光MINI EV?
【uniapp】uniapp开发app在线预览pdf文件
删除字符串中出现次数最少的字符【JS,Map排序,正则】
876. 链表的中间结点
[mathematical basis of machine learning] (I) linear algebra (Part 1 +)
大佬们,求助一下,我用mysql cdc 2.2.1(flink 1.14.5)写入kafka,设置
The latest progress of Intel Integrated Optoelectronics Research promotes the progress of CO packaging optics and optical interconnection technology
6.26cf simulation match B: solution to array reduction problem
Unity adds a function case similar to editor extension to its script, the use of ContextMenu
信息学奥赛一本通 1336:【例3-1】找树根和孩子