commit | 85b972328c5868effcd584758b9ca4bf7f800f8f | [log] [tgz] |
---|---|---|
author | Jerry Belton <jcecil@google.com> | Wed May 01 14:45:33 2024 +0000 |
committer | Jerry Belton <jcecil@google.com> | Wed May 01 14:45:33 2024 +0000 |
tree | b7dba84de2714f5e76f45e89a5ac4f14986cabf2 | |
parent | da199c4361fd1011f59fc631f15e69a6f2a91adb [diff] |
[shac] Make default clang-format tool parameter a function call. In fuchsia.git, shac checks need access to the 'ctx' variable in order to determine the location of the prebuilt tools. This changes the default tool parameter from a string to a lambda, so this check can be used in both environments. Tested by pinning this change in fuchsia.git and running the tools. Change-Id: I641616402d0cc8ae0aa161adc74bd36ceef1643c Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/checks-cpp/+/1040134 Reviewed-by: Darren Chan <chandarren@google.com>
This repository hosts a suite of checks for performing static analysis and code health operations on C/C++ source code.
The checks are hosted in the “checks/” directory, split up based on the host-tool being used.
Please see https://github.com/shac-project/shac for more information on the shac tool and framework.