commit | 19e41f0f180422614e48312b01cc8a70ac409df8 | [log] [tgz] |
---|---|---|
author | Henri Chataing <henrichataing@google.com> | Tue Aug 10 11:04:30 2021 +0200 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 01 10:06:39 2021 +0000 |
tree | 0805769d0330026e06e737eed55babb1608d242a | |
parent | 433c17fb8d4166402fc69cd58cddde31454cc7fe [diff] |
build: Implement static analysis toolchain - Enables to run clang-tidy by building specific targets against static analysis toolchains. generate_toolchain("my_toolchain") { .. static_analysis = true } group("static_analysis") { deps = [ ":default(:my_toolchain.static_analysis)" ] } - Fixes are generated to files {{output}}.yaml in the same directory as the object file, and can be applied from the build directory with clang-apply-replacements Bug: 45 Change-Id: Ic9d169bd9cfca4da1ada461ca73151c1fdf09c37 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/56827 Commit-Queue: Henri Chataing <henrichataing@google.com> Reviewed-by: Keir Mierle <keir@google.com>
See our website: http://pigweed.dev