mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
C#: Fix some IR types that didn't compile.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
import semmle.code.cpp.ir.implementation.unaliased_ssa.IR as IR
|
||||
import semmle.code.cpp.ir.implementation.unaliased_ssa.constant.ConstantAnalysis as ConstantAnalysis
|
||||
import semmle.code.csharp.ir.implementation.unaliased_ssa.IR as IR
|
||||
import semmle.code.csharp.ir.implementation.unaliased_ssa.constant.ConstantAnalysis as ConstantAnalysis
|
||||
|
||||
@@ -9,6 +9,8 @@ newtype TIRVariable =
|
||||
Construction::functionHasIR(callable) and
|
||||
var.getCallable() = callable
|
||||
} or
|
||||
TIRTempVariable(Callable callable, Language::AST ast, TempVariableTag tag, Type type) {
|
||||
TIRTempVariable(
|
||||
Callable callable, Language::AST ast, TempVariableTag tag, Language::LanguageType type
|
||||
) {
|
||||
Construction::hasTempVariable(callable, ast, tag, type)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user