CodeQL library for C/C++
codeql/cpp-all 2.1.1 (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)