Cppcheck
|
#include <checkleakautovar.h>
Public Member Functions | |
AllocInfo (int type_=0, AllocStatus status_=NOALLOC, const Token *allocTok_=nullptr) | |
bool | managed () const |
Public Attributes | |
AllocStatus | status |
int | type |
Allocation type. More... | |
int | reallocedFromType = -1 |
const Token * | allocTok |
Definition at line 42 of file checkleakautovar.h.
|
inlineexplicit |
Definition at line 51 of file checkleakautovar.h.
|
inline |
Definition at line 53 of file checkleakautovar.h.
const Token* VarInfo::AllocInfo::allocTok |
Definition at line 50 of file checkleakautovar.h.
Referenced by CheckLeakAutoVar::changeAllocStatus(), CheckLeakAutoVar::changeAllocStatusIfRealloc(), CheckLeakAutoVar::checkScope(), and CheckLeakAutoVar::functionCall().
int VarInfo::AllocInfo::reallocedFromType = -1 |
Definition at line 49 of file checkleakautovar.h.
Referenced by CheckLeakAutoVar::changeAllocStatusIfRealloc(), and VarInfo::reallocToAlloc().
AllocStatus VarInfo::AllocInfo::status |
Definition at line 43 of file checkleakautovar.h.
Referenced by CheckLeakAutoVar::changeAllocStatus(), CheckLeakAutoVar::changeAllocStatusIfRealloc(), CheckLeakAutoVar::checkScope(), CheckLeakAutoVar::checkTokenInsideExpression(), CheckLeakAutoVar::functionCall(), and VarInfo::reallocToAlloc().
int VarInfo::AllocInfo::type |
Allocation type.
If it is a positive value then it corresponds to a Library allocation id. A negative value is a builtin checkleakautovar allocation type.
Definition at line 48 of file checkleakautovar.h.
Referenced by CheckLeakAutoVar::changeAllocStatus(), CheckLeakAutoVar::changeAllocStatusIfRealloc(), CheckLeakAutoVar::checkScope(), CheckLeakAutoVar::checkTokenInsideExpression(), and CheckLeakAutoVar::functionCall().