Files
clang-p2996/clang/lib/Analysis/FlowSensitive/ASTOps.cpp
Samira Bazuzi 198fb5ed4a [clang][dataflow] Add captured parameters to ReferencedDecls for lamb… (#117771)
…da call operators.

This doesn't require that they be used in the operator's body, unlike
other ReferencedDecls. This is most obviously different from captured
local variables, which can be captured but will not appear in
ReferencedDecls unless they appear in the operator's body.

This difference simplifies the collection of the captured parameters,
but probably could be eliminated if desirable.
2024-11-27 10:08:57 -05:00

11 KiB