Cppcheck
Public Member Functions | Public Attributes | List of all members
CheckClass::Usage Struct Reference

Information about a member variable. More...

Public Member Functions

 Usage (const Variable *var)
 

Public Attributes

const Variablevar
 Variable that this usage is for. More...
 
bool assign {}
 has this variable been assigned? More...
 
bool init {}
 has this variable been initialized? More...
 

Detailed Description

Information about a member variable.

Used when checking for uninitialized variables

Definition at line 315 of file checkclass.h.

Constructor & Destructor Documentation

◆ Usage()

CheckClass::Usage::Usage ( const Variable var)
inlineexplicit

Definition at line 316 of file checkclass.h.

Member Data Documentation

◆ assign

bool CheckClass::Usage::assign {}

has this variable been assigned?

Definition at line 322 of file checkclass.h.

◆ init

bool CheckClass::Usage::init {}

has this variable been initialized?

Definition at line 325 of file checkclass.h.

◆ var

const Variable* CheckClass::Usage::var

Variable that this usage is for.

Definition at line 319 of file checkclass.h.


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