|
Cppcheck
|
Public Member Functions | |
| Lambda (const Token *tok) | |
| std::vector< const Token * > | getCaptures () const |
| bool | isLambda () const |
Public Attributes | |
| const Token * | capture {} |
| const Token * | arguments {} |
| const Token * | returnTok {} |
| const Token * | bodyTok {} |
| std::unordered_map< const Variable *, std::pair< const Token *, LifetimeCapture > > | explicitCaptures |
| LifetimeCapture | implicitCapture = LifetimeCapture::Undefined |
Definition at line 4829 of file valueflow.cpp.
|
inlineexplicit |
Definition at line 4830 of file valueflow.cpp.
References arguments, bodyTok, ByReference, ByValue, capture, explicitCaptures, Token::findsimplematch(), getCaptures(), implicitCapture, Token::link(), Token::Match(), Token::next(), Token::originalName(), returnTok, and Token::simpleMatch().
|
inline |
Definition at line 4873 of file valueflow.cpp.
References capture, and getArguments().
Referenced by Lambda().
|
inline |
Definition at line 4877 of file valueflow.cpp.
References bodyTok, and capture.
Referenced by valueFlowLifetime().
| const Token* Lambda::arguments {} |
Definition at line 4867 of file valueflow.cpp.
Referenced by Lambda().
| const Token* Lambda::bodyTok {} |
Definition at line 4869 of file valueflow.cpp.
Referenced by isLambda(), Lambda(), and valueFlowLifetime().
| const Token* Lambda::capture {} |
Definition at line 4866 of file valueflow.cpp.
Referenced by getCaptures(), isLambda(), and Lambda().
| std::unordered_map<const Variable*, std::pair<const Token*, LifetimeCapture> > Lambda::explicitCaptures |
Definition at line 4870 of file valueflow.cpp.
Referenced by Lambda(), and valueFlowLifetime().
| LifetimeCapture Lambda::implicitCapture = LifetimeCapture::Undefined |
Definition at line 4871 of file valueflow.cpp.
Referenced by Lambda(), and valueFlowLifetime().
| const Token* Lambda::returnTok {} |
Definition at line 4868 of file valueflow.cpp.
Referenced by Lambda().