fix comment in CheckClass::initializeVarList
This commit is contained in:
parent
fef1142997
commit
7dd8a3283a
|
@ -869,7 +869,7 @@ void CheckClass::checkReturnPtrThis(const Scope *scope, const Function *func, co
|
|||
}
|
||||
}
|
||||
|
||||
// check of *this is returned
|
||||
// check if *this is returned
|
||||
else if (!(Token::Match(tok->tokAt(1), "(| * this ;|=") ||
|
||||
Token::Match(tok->tokAt(1), "(| * this +=") ||
|
||||
Token::simpleMatch(tok->tokAt(1), "operator= (") ||
|
||||
|
|
Loading…
Reference in New Issue