Skip to content

Commit ff73dbc

Browse files
committed
delete redundant imports
1 parent ae20393 commit ff73dbc

File tree

145 files changed

+0
-162
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+0
-162
lines changed

cpp/ql/lib/semmle/code/cpp/Field.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import semmle.code.cpp.Variable
66
import semmle.code.cpp.Enum
7-
import semmle.code.cpp.exprs.Access
87

98
/**
109
* A C structure member or C++ non-static member variable. For example the

cpp/ql/lib/semmle/code/cpp/rangeanalysis/SimpleRangeAnalysis.qll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1802,5 +1802,3 @@ module SimpleRangeAnalysisInternal {
18021802
defMightOverflowNegatively(def, v) and result = varMaxVal(v)
18031803
}
18041804
}
1805-
1806-
private import SimpleRangeAnalysisInternal

cpp/ql/lib/semmle/code/cpp/security/BufferWrite.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
*/
77

88
import cpp
9-
import semmle.code.cpp.commons.Alloc
109
import semmle.code.cpp.commons.Buffer
1110
import semmle.code.cpp.commons.Scanf
1211
import semmle.code.cpp.models.implementations.Strcat

cpp/ql/src/Likely Bugs/Leap Year/Adding365DaysPerYear.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
import cpp
1515
import LeapYear
16-
import semmle.code.cpp.dataflow.DataFlow
1716

1817
from Expr source, Expr sink, PossibleYearArithmeticOperationCheckConfiguration config
1918
where config.hasFlow(DataFlow::exprNode(source), DataFlow::exprNode(sink))

cpp/ql/src/Likely Bugs/Memory Management/NtohlArrayNoBound.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
import cpp
1212
import NtohlArrayNoBound
13-
import semmle.code.cpp.dataflow.DataFlow
1413

1514
from NetworkToBufferSizeConfiguration bufConfig, DataFlow::Node source, DataFlow::Node sink
1615
where bufConfig.hasFlow(source, sink)

cpp/ql/src/Security/CWE/CWE-120/OverrunWrite.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
import semmle.code.cpp.security.BufferWrite
18-
import semmle.code.cpp.commons.Alloc
1918

2019
/*
2120
* See CWE-120/UnboundedWrite.ql for a summary of CWE-120 alert cases.

cpp/ql/src/Security/CWE/CWE-120/VeryLikelyOverrunWrite.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
import semmle.code.cpp.security.BufferWrite
18-
import semmle.code.cpp.commons.Alloc
1918

2019
/*
2120
* See CWE-120/UnboundedWrite.ql for a summary of CWE-120 alert cases.

cpp/ql/src/experimental/Security/CWE/CWE-266/IncorrectPrivilegeAssignment.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
*/
1717

1818
import cpp
19-
import semmle.code.cpp.exprs.BitwiseOperation
2019
import semmle.code.cpp.valuenumbering.GlobalValueNumbering
2120

2221
/**

cpp/ql/test/library-tests/dataflow/fields/ir-path-flow.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import semmle.code.cpp.ir.dataflow.DataFlow
66
import IRConfiguration
7-
import cpp
87
import DataFlow::PathGraph
98

109
from DataFlow::PathNode src, DataFlow::PathNode sink, IRConf conf

cpp/ql/test/library-tests/dataflow/fields/path-flow.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import semmle.code.cpp.dataflow.DataFlow
66
import ASTConfiguration
7-
import cpp
87
import DataFlow::PathGraph
98

109
from DataFlow::PathNode src, DataFlow::PathNode sink, AstConf conf

0 commit comments

Comments
 (0)