Skip to content

Commit 904ff1a

Browse files
authored
Merge pull request #8943 from jbj/remove-gvn-imports
C++: Remove import order workarounds
2 parents 58a2677 + f1fa7cb commit 904ff1a

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
import cpp
77
import semmle.code.cpp.controlflow.Dominance
8-
// `GlobalValueNumbering` is only imported to prevent IR re-evaluation.
9-
private import semmle.code.cpp.valuenumbering.GlobalValueNumbering
108
import semmle.code.cpp.rangeanalysis.SimpleRangeAnalysis
119
import semmle.code.cpp.rangeanalysis.RangeAnalysisUtils
1210
import semmle.code.cpp.controlflow.Guards

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
*/
1515

1616
import cpp
17-
// We don't actually use the global value numbering library in this query, but without it we end up
18-
// recomputing the IR.
19-
private import semmle.code.cpp.valuenumbering.GlobalValueNumbering
2017
import semmle.code.cpp.ir.IR
2118
import semmle.code.cpp.ir.dataflow.MustFlow
2219
import PathGraph

cpp/ql/src/Likely Bugs/OO/UnsafeUseOfThis.ql

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
*/
1616

1717
import cpp
18-
// We don't actually use the global value numbering library in this query, but without it we end up
19-
// recomputing the IR.
20-
import semmle.code.cpp.valuenumbering.GlobalValueNumbering
2118
import semmle.code.cpp.ir.IR
2219
import semmle.code.cpp.ir.dataflow.MustFlow
2320
import PathGraph

0 commit comments

Comments
 (0)