mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00

This CL makes it easy to invoke the tool for single cc files, without having to install or configure anything. It boils down to: % tools_webrtc/clang_tidy.py path/to/file.cc [clang-tidy-args...] If any issue is encountered, a colored diagnostic will be printed. By default, it also includes checks from clang analyzer. Warning! This is linux-only, and uses an old version of clang-tidy based on LLVM 5.0. USE WITH CARE. bug: webrtc:8793 Change-Id: I8964f2b939408326cc349c5f0ac0dfcff2da24c5 Reviewed-on: https://webrtc-review.googlesource.com/c/120221 Commit-Queue: Yves Gerey <yvesg@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26858}
0 lines
Python
0 lines
Python