mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C++: add upgrade and downgrade scripts
This commit is contained in:
2494
cpp/downgrades/a8c2176e9a5cf9be8d17053a4c8e7e56b5aced6d/old.dbscheme
Normal file
2494
cpp/downgrades/a8c2176e9a5cf9be8d17053a4c8e7e56b5aced6d/old.dbscheme
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,13 @@
|
||||
class Stmt extends @stmt {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
class Location extends @location_stmt {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
from Stmt id, int kind, Location loc, int new_kind
|
||||
where
|
||||
stmts(id, kind, loc) and
|
||||
if kind = 40 then new_kind = 4 else new_kind = kind
|
||||
select id, new_kind, loc
|
||||
@@ -0,0 +1,3 @@
|
||||
description: Support `__leave` statement
|
||||
compatibility: backwards
|
||||
stmts.rel: run stmts.qlo
|
||||
Reference in New Issue
Block a user