Code cleanup
This commit is contained in:
parent
6f8799023f
commit
a5a294cf13
|
@ -74,8 +74,6 @@ static bool isRefPtrArg(const Token *tok)
|
|||
static bool isNonReferenceArg(const Token *tok)
|
||||
{
|
||||
const Variable *var = tok->variable();
|
||||
//if (var && !var->valueType())
|
||||
// throw InternalError(tok, "var without valueType");
|
||||
return (var && var->isArgument() && !var->isReference() && (var->isPointer() || (var->valueType() && var->valueType()->type >= ValueType::Type::CONTAINER) || var->type()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue