Revert "SymbolDatabase: Use ValueType::matchParameter"
This reverts commit cea00a8e09
.
This commit is contained in:
parent
cea00a8e09
commit
35a3a34632
|
@ -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"));
|
||||
|
|
Loading…
Reference in New Issue