//ll:compilation_database.bzl#

Implements the ll_compilation_database rule.

ll_compilation_database#

ll_compilation_database(name, config, exclude, target)

Executable target for building a compilation database and running clang-tidy on it.

For a full guide see Using rules_ll with clang-tidy.

An example project using this rule is available at rules_ll/examples.

ATTRIBUTES

Name

Description

Type

Mandatory

Default

name

A unique name for this target.

Name

required

config

The label of a .clang-tidy configuration file.

This file should be at the root of your project directory.

Label

required

exclude

Exclude all targets whose path includes one at least one of the provided strings.

List of strings

optional

[]

target

The label for which the compilation database should be built.

Label

required