mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
C#: Add DB upgrade script
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
class LocalVariable extends @local_variable {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
class TypeOrRef extends @type_or_ref {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
class LocalVarDeclExpr extends @local_var_decl_expr {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
from LocalVariable l, int implicitly_typed, TypeOrRef type, LocalVarDeclExpr parent
|
||||
where localvars(l, _, _, implicitly_typed, type, parent)
|
||||
select l, implicitly_typed, type, parent
|
||||
@@ -0,0 +1,7 @@
|
||||
class LocalVariable extends @local_variable {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
from LocalVariable l, int kind, string name
|
||||
where localvars(l, kind, name, _, _, _)
|
||||
select l, kind, name
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,4 @@
|
||||
description: Split up localvars table into localvars and localvar_info
|
||||
compatibility: full
|
||||
localvar_info.rel: run localvar_info.rel
|
||||
localvars.rel: run localvars.rel
|
||||
Reference in New Issue
Block a user