1、cppcheck 参考:https://blog.csdn.net/xi_gua_gua/article/details/53958120 官方:http://cppcheck.sourceforge.net/ 2、cpplint 官方:https://github.com/cpplint/cpplint