C++: Add upgrade and downgrade scripts

This commit is contained in:
Jeroen Ketema
2024-01-24 11:16:45 +01:00
parent a79754b696
commit 05e78f14a4
8 changed files with 8992 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
class Declaration extends @declaration {
string toString() { none() }
}
class MangledName extends @mangledname {
string toString() { none() }
}
from Declaration d, MangledName n
where mangled_name(d, n, _)
select d, n

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
description: Add completness information to mangled name table
compatibility: full
mangled_name.rel: run mangled_name.qlo

View File

@@ -0,0 +1,13 @@
class Declaration extends @declaration {
string toString() { none() }
}
class MangledName extends @mangledname {
string toString() { none() }
}
from Declaration d, MangledName n, boolean isComplete
where
mangled_name(d, n) and
if d instanceof @function then isComplete = false else isComplete = true
select d, n, isComplete

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
description: Add completness information to mangled name table
compatibility: partial
mangled_name.rel: run mangled_name.qlo