Revert "SymbolDatabase: Use ValueType::matchParameter"

This reverts commit cea00a8e09.
This commit is contained in:
Daniel Marjamäki 2019-07-31 12:07:07 +02:00
parent cea00a8e09
commit 35a3a34632
1 changed files with 0 additions and 8 deletions

View File

@ -4047,14 +4047,6 @@ static void checkVariableCallMatch(const Variable* callarg, const Variable* func
same++;
return;
}
if (res == ValueType::MatchResult::FALLBACK1) {
fallback1++;
return;
}
if (res == ValueType::MatchResult::FALLBACK2) {
fallback2++;
return;
}
bool ptrequals = callarg->isArrayOrPointer() == funcarg->isArrayOrPointer();
bool constEquals = !callarg->isArrayOrPointer() || ((callarg->typeStartToken()->strAt(-1) == "const") == (funcarg->typeStartToken()->strAt(-1) == "const"));