mirror of
https://github.com/github/codeql.git
synced 2026-04-04 14:48:20 +02:00
15 lines
302 B
Plaintext
15 lines
302 B
Plaintext
/**
|
|
* @name Parameters3
|
|
* @kind table
|
|
*/
|
|
import cpp
|
|
|
|
from Function f, int i, Parameter p, string pname, boolean named
|
|
where f.hasName("Dispatch")
|
|
and f.getParameter(i) = p
|
|
and p.getName() = pname
|
|
and (
|
|
p.isNamed() and named = true
|
|
or not p.isNamed() and named = false)
|
|
select f, i, pname, named
|