CodeQL library for C/C++
codeql/cpp-all 1.1.0 (changelog, source)
Search

Predicate lambdaCreation

Holds if creation is an expression that creates a lambda of kind kind for c.

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowPrivate
predicate lambdaCreation(Node creation, LambdaCallKind kind, DataFlowCallable c)