[all-commits] [llvm/llvm-project] f70282: [bazel] create a clang-tidy binary target

jathu via All-commits all-commits at lists.llvm.org
Wed Feb 15 04:57:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7028223716640303b568320ae737d90bbe52797
      https://github.com/llvm/llvm-project/commit/f7028223716640303b568320ae737d90bbe52797
  Author: Jathu Satkunarajah <jathu.satkunarajah at gmail.com>
  Date:   2023-02-15 (Wed, 15 Feb 2023)

  Changed paths:
    A utils/bazel/llvm-project-overlay/clang-tools-extra/clang-tidy/BUILD.bazel
    A utils/bazel/llvm-project-overlay/clang-tools-extra/clang-tidy/defs.bzl
    A utils/bazel/llvm-project-overlay/clang-tools-extra/unittests/BUILD.bazel

  Log Message:
  -----------
  [bazel] create a clang-tidy binary target

Create a binary target for clang-tidy. Tested by running:

```
$ bazel build --config=generic_clang @llvm-project//clang-tools-extra/...
$ bazel test --config=generic_clang @llvm-project//clang-tools-extra/...
$ bazel run --config=generic_clang @llvm-project//clang-tools-extra/clang-tidy -- --help
```

Reviewed By: #bazel_build, aaronmondal

Differential Revision: https://reviews.llvm.org/D143804




More information about the All-commits mailing list