clang-tidy is a clang-based C++ “linter” tool. Its purpose is to provide an extensible framework for diagnosing and fixing typical programming errors, like style violations, interface misuse, or bugs that can be deduced via static analysis. clang-tidy is modular and provides a convenient interface for writing new checks. Using Clang-Tidy¶ clang-tidy is a LibTooling-based tool, and it’s easier to w
はしがき 以前、go vetについて触れましたが、 公式以外でも循環複雑度解析をしてくれたりとか、 いろいろ良いライブラリがあるので、その辺の紹介を。(後おまけでvimの設定:p 静的解析ライブラリ 御三家的なアレ。 go vet [前の記事] (http://qiita.com/marnie_ms4/items/b343165efb4235906db7)でも紹介したgo謹製のツールですね。 go imports 保存時とかに掛けると、使ってないimportを自動でお掃除してくれたり、追加してくれたりする、賢い子です。 go lint 構文上微妙なものとかをsuggestしてくれます。 私はvimのファイル保存時にgo fmt,go lintは自動で掛けるようにしています :) 静的解析ライブラリ 複雑度、重複コードチェックとか少し凝ったやつ go cyclo 分岐数などのプログラムの構造
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く