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 d2aecc5 commit f43f9d6Copy full SHA for f43f9d6
.clang-tidy
@@ -6,6 +6,4 @@ Checks: >
6
google-*,
7
performance-*,
8
9
-HeaderFilterRegex: ".*"
10
-
11
WarningsAsErrors: "*"
clang_tidy/clang_tidy.bzl
@@ -94,6 +94,9 @@ def _rule_sources(ctx):
94
if hasattr(ctx.rule.attr, "srcs"):
95
for src in ctx.rule.attr.srcs:
96
srcs += [src for src in src.files.to_list() if src.is_source and check_valid_file_type(src)]
97
+ if hasattr(ctx.rule.attr, "hdrs"):
98
+ for hdr in ctx.rule.attr.hdrs:
99
+ srcs += [hdr for hdr in hdr.files.to_list() if hdr.is_source and check_valid_file_type(hdr)]
100
return srcs
101
102
def _toolchain_flags(ctx, action_name = ACTION_NAMES.cpp_compile):
0 commit comments