Cppcheck
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ValueFlow::LifetimeToken Struct Reference

#include <valueflow.h>

Public Member Functions

 LifetimeToken ()=default
 
 LifetimeToken (const Token *token, Value::ErrorPath errorPath)
 
 LifetimeToken (const Token *token, bool addressOf, Value::ErrorPath errorPath)
 

Static Public Member Functions

static std::vector< LifetimeTokensetAddressOf (std::vector< LifetimeToken > v, bool b)
 
static std::vector< LifetimeTokensetInconclusive (std::vector< LifetimeToken > v, bool b)
 

Public Attributes

const Tokentoken {}
 
Value::ErrorPath errorPath
 
bool addressOf {}
 
bool inconclusive {}
 

Detailed Description

Definition at line 74 of file valueflow.h.

Constructor & Destructor Documentation

◆ LifetimeToken() [1/3]

ValueFlow::LifetimeToken::LifetimeToken ( )
default

◆ LifetimeToken() [2/3]

ValueFlow::LifetimeToken::LifetimeToken ( const Token token,
Value::ErrorPath  errorPath 
)
inline

Definition at line 82 of file valueflow.h.

◆ LifetimeToken() [3/3]

ValueFlow::LifetimeToken::LifetimeToken ( const Token token,
bool  addressOf,
Value::ErrorPath  errorPath 
)
inline

Definition at line 86 of file valueflow.h.

Member Function Documentation

◆ setAddressOf()

static std::vector<LifetimeToken> ValueFlow::LifetimeToken::setAddressOf ( std::vector< LifetimeToken v,
bool  b 
)
inlinestatic

Definition at line 90 of file valueflow.h.

Referenced by getLifetimeTokens().

◆ setInconclusive()

static std::vector<LifetimeToken> ValueFlow::LifetimeToken::setInconclusive ( std::vector< LifetimeToken v,
bool  b 
)
inlinestatic

Definition at line 96 of file valueflow.h.

Referenced by getLifetimeTokens().

Member Data Documentation

◆ addressOf

bool ValueFlow::LifetimeToken::addressOf {}

Definition at line 77 of file valueflow.h.

◆ errorPath

Value::ErrorPath ValueFlow::LifetimeToken::errorPath

Definition at line 76 of file valueflow.h.

◆ inconclusive

bool ValueFlow::LifetimeToken::inconclusive {}

Definition at line 78 of file valueflow.h.

◆ token

const Token* ValueFlow::LifetimeToken::token {}

Definition at line 75 of file valueflow.h.


The documentation for this struct was generated from the following file: