mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
8 lines
302 B
Plaintext
8 lines
302 B
Plaintext
import cpp
|
|
|
|
from LambdaCapture lc, string mode, int index
|
|
where
|
|
exists(LambdaExpression le | le.getCapture(index) = lc) and
|
|
if lc.isImplicit() then mode = "implicit" else mode = "explicit"
|
|
select lc, mode, index, concat(lc.getField().toString(), ", "), concat(lc.getInitializer().toString(), ", ")
|