Add some missing errors to --errorlist output. (#1292)
Partly fixes https://trac.cppcheck.net/ticket/7772.
This commit is contained in:
parent
929725f3aa
commit
0b65a52224
|
@ -125,6 +125,7 @@ private:
|
|||
c.bitwiseOnBooleanError(nullptr, "varname", "&&");
|
||||
c.comparisonOfBoolExpressionWithIntError(nullptr, true);
|
||||
c.pointerArithBoolError(nullptr);
|
||||
c.comparisonOfBoolWithInvalidComparator(nullptr, "expression");
|
||||
}
|
||||
|
||||
static std::string myName() {
|
||||
|
|
|
@ -275,6 +275,7 @@ private:
|
|||
c.negativeBitwiseShiftError(nullptr, 2);
|
||||
c.checkPipeParameterSizeError(nullptr, "varname", "dimension");
|
||||
c.raceAfterInterlockedDecrementError(nullptr);
|
||||
c.invalidFreeError(nullptr, false);
|
||||
|
||||
//performance
|
||||
c.redundantCopyError(nullptr, "varname");
|
||||
|
@ -320,6 +321,7 @@ private:
|
|||
c.unknownEvaluationOrder(nullptr);
|
||||
c.accessMovedError(nullptr, "v", nullptr, false);
|
||||
c.funcArgNamesDifferent("function", 1, nullptr, nullptr);
|
||||
c.redundantBitwiseOperationInSwitchError(nullptr, "varname");
|
||||
|
||||
const std::vector<const Token *> nullvec;
|
||||
c.funcArgOrderDifferent("function", nullptr, nullptr, nullvec, nullvec);
|
||||
|
|
|
@ -221,6 +221,7 @@ private:
|
|||
c.string_c_strError(nullptr);
|
||||
c.string_c_strReturn(nullptr);
|
||||
c.string_c_strParam(nullptr, 0);
|
||||
c.string_c_strThrowError(nullptr);
|
||||
c.sizeError(nullptr);
|
||||
c.missingComparisonError(nullptr, nullptr);
|
||||
c.redundantIfRemoveError(nullptr);
|
||||
|
|
Loading…
Reference in New Issue