mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
C++: Add upgrade and downgrade scripts
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
class LocationBase = @location_default or @location_stmt or @location_expr;
|
||||
|
||||
class Location extends LocationBase {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
class Container extends @container {
|
||||
string toString() { none() }
|
||||
}
|
||||
|
||||
from Location l, Container c, int startLine, int startColumn, int endLine, int endColumn
|
||||
where
|
||||
locations_default(l, c, startLine, startColumn, endLine, endColumn)
|
||||
or
|
||||
locations_stmt(l, c, startLine, startColumn, endLine, endColumn)
|
||||
or
|
||||
locations_expr(l, c, startLine, startColumn, endLine, endColumn)
|
||||
select l, c, startLine, startColumn, endLine, endColumn
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,5 @@
|
||||
description: Merge location tables
|
||||
compatibility: full
|
||||
locations_default.rel: run locations_default.qlo
|
||||
locations_expr.rel: delete
|
||||
locations_stmt.rel: delete
|
||||
Reference in New Issue
Block a user