mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
11 lines
324 B
Plaintext
11 lines
324 B
Plaintext
import cpp
|
|
|
|
query predicate classUuids(Class cls, string uuid) {
|
|
if exists(cls.getUuid()) then uuid = cls.getUuid() else uuid = ""
|
|
}
|
|
|
|
query predicate uuidofOperators(UuidofOperator op, string type, string uuid) {
|
|
(if exists(op.getValue()) then uuid = op.getValue() else uuid = "") and
|
|
type = op.getType().toString()
|
|
}
|