Cppcheck
Functions | Variables
checkmemoryleak.cpp File Reference
#include "checkmemoryleak.h"
#include "astutils.h"
#include "errorlogger.h"
#include "errortypes.h"
#include "library.h"
#include "mathlib.h"
#include "platform.h"
#include "settings.h"
#include "symboldatabase.h"
#include "token.h"
#include "tokenize.h"
#include <algorithm>
#include <utility>
#include <vector>

Go to the source code of this file.

Functions

static bool notvar (const Token *tok, nonneg int varid)
 
static bool ifvar (const Token *tok, nonneg int varid, const std::string &comp, const std::string &rhs)
 

Variables

static const CWE CWE398 (398U)
 
static const CWE CWE401 (401U)
 
static const CWE CWE771 (771U)
 
static const CWE CWE772 (772U)
 

Function Documentation

◆ ifvar()

static bool ifvar ( const Token tok,
nonneg int  varid,
const std::string &  comp,
const std::string &  rhs 
)
static

◆ notvar()

static bool notvar ( const Token tok,
nonneg int  varid 
)
static

Variable Documentation

◆ CWE398

const CWE CWE398(398U) ( 398U  )
static

◆ CWE401

const CWE CWE401(401U) ( 401U  )
static

◆ CWE771

const CWE CWE771(771U) ( 771U  )
static

◆ CWE772

const CWE CWE772(772U) ( 772U  )
static