C++: Fix a couple IR-related tests to handle new directory tree

Also moved those tests under the IR test directory, so I'm less likely to forget them next time.
This commit is contained in:
Dave Bartolomeo
2018-09-03 02:44:28 -07:00
parent fce7a5fccb
commit 4086a8909b
10 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
import cpp
import semmle.code.cpp.ssa.internal.IntegerConstant as Ints
import semmle.code.cpp.ir.internal.IntegerConstant as Ints
bindingset[n]
string resultString(int n) {

View File

@@ -1,6 +1,6 @@
import default
import semmle.code.cpp.ssa.internal.ssa.AliasAnalysis
import semmle.code.cpp.ir.IR
import semmle.code.cpp.ir.implementation.unaliased_ssa.internal.AliasAnalysis
import semmle.code.cpp.ir.implementation.raw.IR
predicate shouldEscape(IRAutomaticUserVariable var) {
exists(string name |

View File

@@ -1,6 +1,6 @@
import default
import semmle.code.cpp.ssa.internal.ssa.AliasAnalysis
import semmle.code.cpp.ir.IR
import semmle.code.cpp.ir.implementation.unaliased_ssa.internal.AliasAnalysis
import semmle.code.cpp.ir.implementation.raw.IR
from Instruction instr, string pointsTo
where

View File

@@ -1,6 +1,6 @@
import default
import semmle.code.cpp.ssa.internal.aliased_ssa.AliasAnalysis
import semmle.code.cpp.ssa.SSAIR
import semmle.code.cpp.ir.implementation.aliased_ssa.internal.AliasAnalysis
import semmle.code.cpp.ir.implementation.unaliased_ssa.IR
predicate shouldEscape(IRAutomaticUserVariable var) {
exists(string name |