//ll:compilation_database.bzl
Implements the ll_compilation_database rule.
ll_compilation_database
ll_compilation_database(name, config, exclude, targets)
Executable target for building a compilation database and running clang-tidy on it.
For a full guide see Clang-Tidy.
See rules_ll/examples for examples.
attributes
| Name | Description |
|---|---|
name |
Name, required.A unique name for this target. |
config |
Label, required.The label of a .clang-tidy configuration file. |
exclude |
List of strings, optional, defaults to [].Exclude all targets whose path includes one at least one of the provided strings. |
targets |
List of labels, required.The labels added to the compilation database. |