We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf312e0 commit cb45e87Copy full SHA for cb45e87
clang_tidy/clang_tidy.bzl
@@ -11,13 +11,16 @@ def _run_tidy(
11
compilation_contexts,
12
infile,
13
discriminator):
14
+ cc_toolchain = find_cpp_toolchain(ctx)
15
inputs = depset(
16
direct = (
17
[infile, config] +
18
additional_deps.files.to_list() +
19
([exe.files_to_run.executable] if exe.files_to_run.executable else [])
20
),
- transitive = [compilation_context.headers for compilation_context in compilation_contexts],
21
+ transitive =
22
+ [compilation_context.headers for compilation_context in compilation_contexts] +
23
+ [cc_toolchain.all_files],
24
)
25
26
args = ctx.actions.args()
0 commit comments