Revert "Moved all simplified CheckOther checks from simplified to normal checking"
This reverts commit 2900690881
.
This commit is contained in:
parent
2900690881
commit
37814513f8
|
@ -86,22 +86,24 @@ public:
|
||||||
checkOther.checkComparePointers();
|
checkOther.checkComparePointers();
|
||||||
checkOther.checkIncompleteStatement();
|
checkOther.checkIncompleteStatement();
|
||||||
checkOther.checkPipeParameterSize();
|
checkOther.checkPipeParameterSize();
|
||||||
checkOther.clarifyCalculation();
|
|
||||||
checkOther.clarifyStatement();
|
|
||||||
checkOther.checkPassByReference();
|
|
||||||
checkOther.checkCastIntToCharAndBack();
|
|
||||||
checkOther.checkMisusedScopedObject();
|
|
||||||
checkOther.checkInvalidFree();
|
|
||||||
checkOther.checkRedundantCopy();
|
|
||||||
checkOther.checkComparisonFunctionIsAlwaysTrueOrFalse();
|
|
||||||
checkOther.checkAccessOfMovedVariable();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @brief Run checks against the simplified token list */
|
/** @brief Run checks against the simplified token list */
|
||||||
void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE {
|
void runSimplifiedChecks(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger) OVERRIDE {
|
||||||
(void)tokenizer;
|
CheckOther checkOther(tokenizer, settings, errorLogger);
|
||||||
(void)settings;
|
|
||||||
(void)errorLogger;
|
// Checks
|
||||||
|
checkOther.clarifyCalculation();
|
||||||
|
checkOther.clarifyStatement();
|
||||||
|
checkOther.checkPassByReference();
|
||||||
|
checkOther.checkCastIntToCharAndBack();
|
||||||
|
|
||||||
|
checkOther.checkMisusedScopedObject();
|
||||||
|
|
||||||
|
checkOther.checkInvalidFree();
|
||||||
|
checkOther.checkRedundantCopy();
|
||||||
|
checkOther.checkComparisonFunctionIsAlwaysTrueOrFalse();
|
||||||
|
checkOther.checkAccessOfMovedVariable();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @brief Clarify calculation for ".. a * b ? .." */
|
/** @brief Clarify calculation for ".. a * b ? .." */
|
||||||
|
|
Loading…
Reference in New Issue