Using postfix operators ++ or – rather than postfix operator.
static std::string myName()
CheckPostfixOperator(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
This constructor is used when running checks.
std::string classInfo() const override
get information about this class, used to generate documentation
void postfixOperatorError(const Token *tok)
Report Error.
CheckPostfixOperator()
This constructor is used when registering the CheckPostfixOperator.
void getErrorMessages(ErrorLogger *errorLogger, const Settings *settings) const override
get error messages
void runChecks(const Tokenizer &tokenizer, ErrorLogger *errorLogger) override
run checks, the token list is not simplified