What is the best command-line tool to clean up code?

前端 未结 6 403
情话喂你
情话喂你 2020-12-12 11:58

When I\'m writing C - code I solely use an editor and gcc. I was wondering if anyone could suggest a good and simple tool that will find unused variables, function declarati

6条回答
  •  渐次进展
    2020-12-12 12:14

    splint (http://www.splint.org/) is quite excellent; I've used it on megaline codes to look for this sort of thing,

    (Updated: everybody wants to be an art director.)

提交回复
热议问题