Cppcheck
|
#include "checktype.h"
#include "errortypes.h"
#include "mathlib.h"
#include "platform.h"
#include "settings.h"
#include "standards.h"
#include "symboldatabase.h"
#include "token.h"
#include "tokenize.h"
#include "valueflow.h"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <iterator>
#include <list>
#include <sstream>
#include <utility>
#include <vector>
Go to the source code of this file.
Functions | |
static bool | checkTypeCombination (ValueType src, ValueType tgt, const Settings &settings) |
static void | makeBaseTypeString (std::string &typeStr) |
Variables | |
static const CWE | CWE195 (195U) |
static const CWE | CWE197 (197U) |
static const CWE | CWE758 (758U) |
static const CWE | CWE190 (190U) |
Definition at line 302 of file checktype.cpp.
References ValueFlow::getSizeOf(), None, ValueType::reference, and ValueType::type.
Referenced by CheckType::checkLongCast().
|
static |
Definition at line 394 of file checktype.cpp.
Referenced by CheckType::longCastAssignError(), and CheckType::longCastReturnError().
|
static |
Referenced by CheckType::floatToIntegerOverflowError(), and CheckType::integerOverflowError().
|
static |
Referenced by CheckType::signConversionError().
|
static |
Referenced by CheckType::longCastAssignError(), and CheckType::longCastReturnError().
|
static |
Referenced by CheckType::tooBigBitwiseShiftError(), and CheckType::tooBigSignedBitwiseShiftError().