This repository was archived by the owner on Jan 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 128
Expand file tree
/
Copy pathBUILD.bazel
More file actions
45 lines (43 loc) · 1.38 KB
/
BUILD.bazel
File metadata and controls
45 lines (43 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "RedundantCode_lib",
srcs = [
"CompareIdenticalValues.go",
"CompareIdenticalValuesGood.go",
"DeadStoreOfField.go",
"DeadStoreOfFieldGood.go",
"DeadStoreOfLocalBad.go",
"DeadStoreOfLocalGood.go",
"DuplicateBranches.go",
"DuplicateBranchesGood.go",
"DuplicateCondition.go",
"DuplicateConditionGood.go",
"DuplicateSwitchCase.go",
"DuplicateSwitchCaseGood.go",
"ExprHasNoEffect.go",
"ExprHasNoEffectGood.go",
"ImpossibleInterfaceNilCheck.go",
"ImpossibleInterfaceNilCheckGood.go",
"NegativeLengthCheck.go",
"NegativeLengthCheckGood.go",
"RedundantExpr.go",
"RedundantExprGood.go",
"RedundantRecover1.go",
"RedundantRecover1Good.go",
"RedundantRecover2.go",
"RedundantRecover2Good.go",
"SelfAssignment.go",
"SelfAssignmentGood.go",
"ShiftOutOfRange.go",
"ShiftOutOfRangeGood.go",
"UnreachableStatement.go",
"UnreachableStatementGood.go",
],
importpath = "github.com/github/codeql-go/ql/src/RedundantCode",
visibility = ["//visibility:private"],
)
go_binary(
name = "RedundantCode",
embed = [":RedundantCode_lib"],
visibility = ["//visibility:public"],
)