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 a562035 commit a4348c2Copy full SHA for a4348c2
clang_tidy/clang_tidy_test.bzl
@@ -73,7 +73,7 @@ fi
73
clang_tidy_config = ctx.file.clang_tidy_config.short_path,
74
output = ctx.outputs.executable.path,
75
c_sources = " ".join([x.short_path for x in srcs if is_c_translation_unit(x, ctx.attr.tags)]),
76
- cxx_sources = " ".join([x.short_path for x in srcs]),
+ cxx_sources = " ".join([x.short_path for x in srcs if not is_c_translation_unit(x, ctx.attr.tags)]),
77
c_flags = " ".join([_fix_argument_path(ctx, x) for x in ccinfo_copts + c_flags]),
78
cxx_flags = " ".join([_fix_argument_path(ctx, x) for x in ccinfo_copts + cxx_flags]),
79
),
0 commit comments