Skip to content

Commit 48e92e2

Browse files
author
Dave Bartolomeo
authored
Merge pull request github#2481 from calumgrant/cs/fix-ir-types
C#: Fix some IR types that didn't compile.
2 parents 4494d61 + c05263c commit 48e92e2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
import semmle.code.cpp.ir.implementation.unaliased_ssa.IR as IR
2-
import semmle.code.cpp.ir.implementation.unaliased_ssa.constant.ConstantAnalysis as ConstantAnalysis
1+
import semmle.code.csharp.ir.implementation.unaliased_ssa.IR as IR
2+
import semmle.code.csharp.ir.implementation.unaliased_ssa.constant.ConstantAnalysis as ConstantAnalysis

csharp/ql/src/semmle/code/csharp/ir/internal/TIRVariable.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ newtype TIRVariable =
99
Construction::functionHasIR(callable) and
1010
var.getCallable() = callable
1111
} or
12-
TIRTempVariable(Callable callable, Language::AST ast, TempVariableTag tag, Type type) {
12+
TIRTempVariable(
13+
Callable callable, Language::AST ast, TempVariableTag tag, Language::LanguageType type
14+
) {
1315
Construction::hasTempVariable(callable, ast, tag, type)
1416
}

0 commit comments

Comments
 (0)