mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
11 lines
277 B
Plaintext
11 lines
277 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) {
|
|
uuid = op.getValue() and
|
|
type = op.getType().toString()
|
|
}
|