mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
14 lines
374 B
Plaintext
14 lines
374 B
Plaintext
import Compare
|
|
|
|
string describeTemplate(ControlFlowNode node) {
|
|
node.isFromTemplateInstantiation(_) and
|
|
result = "instantiation"
|
|
or
|
|
node.isFromUninstantiatedTemplate(_) and
|
|
result = "uninstantiated"
|
|
}
|
|
|
|
from ControlFlowNode n1, ControlFlowNode n2, string msg
|
|
where differentEdge(n1, n2, msg)
|
|
select getScopeName(n1), n1, n2, msg, concat(describeTemplate(n1), ", ")
|