#5782 Endless recursion in CheckClass::checkReturnPtrThis(). Break endless recursion by remembering the callstack (missing header file)
This commit is contained in:
parent
b139ae3209
commit
6fe2f8b01b
|
@ -203,7 +203,7 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
// operatorEqRetRefThis helper function
|
// operatorEqRetRefThis helper function
|
||||||
void checkReturnPtrThis(const Scope *scope, const Function *func, const Token *tok, const Token *last);
|
void checkReturnPtrThis(const Scope *scope, const Function *func, const Token *tok, const Token *last, std::set<const Function*>* analyzedFunctions=nullptr);
|
||||||
|
|
||||||
// operatorEqToSelf helper functions
|
// operatorEqToSelf helper functions
|
||||||
bool hasAllocation(const Function *func, const Scope* scope) const;
|
bool hasAllocation(const Function *func, const Scope* scope) const;
|
||||||
|
|
Loading…
Reference in New Issue