Skip to content

Commit 13c9511

Browse files
committed
Don't include headers by default
1 parent da52744 commit 13c9511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang_tidy/clang_tidy.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def _clang_tidy_aspect_impl(target, ctx):
237237
c_flags = safe_flags(toolchain_flags(ctx, ACTION_NAMES.c_compile) + rule_flags) + ["-xc"]
238238
cxx_flags = safe_flags(toolchain_flags(ctx, ACTION_NAMES.cpp_compile) + rule_flags) + ["-xc++"]
239239

240-
include_headers = "no-clang-tidy-headers" not in ctx.rule.attr.tags
240+
include_headers = "clang-tidy-headers" in ctx.rule.attr.tags
241241
srcs = rule_sources(ctx.rule.attr, include_headers)
242242

243243
outputs = [

0 commit comments

Comments
 (0)