Clang Static Analyzer sudo apt-get install clang-tools scan-build cmake .. scan-build make -j4 编译完成之后会在终端提示在哪里查看报错文档: scan-build: 55 bugs found. scan-build: Run 'scan-view /tmp/scan-build-2023-11-24-150637-6472-1' to examine bug reports. Dead Store: