File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,14 @@ config_setting(
33
33
expand_template (
34
34
name = "config" ,
35
35
out = "clang-tidy-config.h" ,
36
- substitutions =
37
- {
38
- "#cmakedefine01 CLANG_TIDY_ENABLE_QUERY_BASED_CUSTOM_CHECKS" : "#define CLANG_TIDY_ENABLE_QUERY_BASED_CUSTOM_CHECKS 0" ,
39
- } | select ({
40
- ":static_analyzer_enabled" : {
41
- "#cmakedefine01 CLANG_TIDY_ENABLE_STATIC_ANALYZER" : "#define CLANG_TIDY_ENABLE_STATIC_ANALYZER 1" ,
42
- },
43
- "//conditions:default" : {
44
- "#cmakedefine01 CLANG_TIDY_ENABLE_STATIC_ANALYZER" : "#define CLANG_TIDY_ENABLE_STATIC_ANALYZER 0" ,
45
- },
46
- }),
36
+ substitutions = select ({
37
+ ":static_analyzer_enabled" : {
38
+ "#cmakedefine01 CLANG_TIDY_ENABLE_STATIC_ANALYZER" : "#define CLANG_TIDY_ENABLE_STATIC_ANALYZER 1" ,
39
+ },
40
+ "//conditions:default" : {
41
+ "#cmakedefine01 CLANG_TIDY_ENABLE_STATIC_ANALYZER" : "#define CLANG_TIDY_ENABLE_STATIC_ANALYZER 0" ,
42
+ },
43
+ }),
47
44
template = "clang-tidy-config.h.cmake" ,
48
45
visibility = ["//visibility:private" ],
49
46
)
You can’t perform that action at this time.
0 commit comments