Skip to content

Commit cea00a8

Browse files
committed
SymbolDatabase: Use ValueType::matchParameter
1 parent a9bdf99 commit cea00a8

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎lib/symboldatabase.cpp‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4047,6 +4047,14 @@ static void checkVariableCallMatch(const Variable* callarg, const Variable* func
40474047
same++;
40484048
return;
40494049
}
4050+
if (res == ValueType::MatchResult::FALLBACK1) {
4051+
fallback1++;
4052+
return;
4053+
}
4054+
if (res == ValueType::MatchResult::FALLBACK2) {
4055+
fallback2++;
4056+
return;
4057+
}
40504058

40514059
bool ptrequals = callarg->isArrayOrPointer() == funcarg->isArrayOrPointer();
40524060
bool constEquals = !callarg->isArrayOrPointer() || ((callarg->typeStartToken()->strAt(-1) == "const") == (funcarg->typeStartToken()->strAt(-1) == "const"));

0 commit comments

Comments
 (0)