Refactorization: Cleaned up after ExecutionPath removal
This commit is contained in:
parent
367eecf0db
commit
795e5de903
|
@ -151,14 +151,6 @@ public:
|
|||
void readingEmptyStlContainer();
|
||||
|
||||
private:
|
||||
|
||||
/**
|
||||
* Helper function used by the 'erase' function
|
||||
* This function parses a loop
|
||||
* @param it iterator token
|
||||
*/
|
||||
void eraseCheckLoop(const Token *it);
|
||||
|
||||
void readingEmptyStlContainer_parseUsage(const Token* tok, bool map, std::set<unsigned int>& empty, bool noerror);
|
||||
|
||||
void missingComparisonError(const Token *incrementToken1, const Token *incrementToken2);
|
||||
|
|
|
@ -37,12 +37,12 @@ class Variable;
|
|||
class CPPCHECKLIB CheckUninitVar : public Check {
|
||||
public:
|
||||
/** @brief This constructor is used when registering the CheckUninitVar */
|
||||
CheckUninitVar() : Check(myName()), testrunner(false) {
|
||||
CheckUninitVar() : Check(myName()) {
|
||||
}
|
||||
|
||||
/** @brief This constructor is used when running checks. */
|
||||
CheckUninitVar(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
|
||||
: Check(myName(), tokenizer, settings, errorLogger), testrunner(false) {
|
||||
: Check(myName(), tokenizer, settings, errorLogger) {
|
||||
}
|
||||
|
||||
/** @brief Run checks against the simplified token list */
|
||||
|
@ -99,9 +99,6 @@ public:
|
|||
}
|
||||
void uninitStructMemberError(const Token *tok, const std::string &membername);
|
||||
|
||||
/** testrunner: (don't abort() when assertion fails, just write error message) */
|
||||
bool testrunner;
|
||||
|
||||
private:
|
||||
void getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const {
|
||||
CheckUninitVar c(0, settings, errorLogger);
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue