SymbolDatabase: extend usage of ValueType::matchParameter for variable parameters
This commit is contained in:
parent
c51f44ce4c
commit
70ac607a5c
|
@ -4051,6 +4051,10 @@ static void checkVariableCallMatch(const Variable* callarg, const Variable* func
|
|||
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