Skip to content

Commit 2deb089

Browse files
authored
Remove unnecessary condition in _safe_flags function (#132)
## Description Cover the following topics in the description: - [ ] Rational - [ ] Context - [ ] Design notes ## Jira Reference Link to a Jira ticket: - [ ] https://swift-nav.atlassian.net/browse/BOARD-123
1 parent 3dab84a commit 2deb089

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
@@ -126,7 +126,7 @@ def _safe_flags(flags):
126126
"-Wno-stringop-overflow",
127127
]
128128

129-
return [flag for flag in flags if flag not in unsupported_flags and not flag.startswith("--sysroot") and not "-std=" in flag]
129+
return [flag for flag in flags if flag not in unsupported_flags and not flag.startswith("--sysroot")]
130130

131131
def _replace_gendir(flags, ctx):
132132
return [flag.replace("$(GENDIR)", ctx.genfiles_dir.path) for flag in flags]

0 commit comments

Comments
 (0)