Don't proceed to outer scope once match is found
This commit is contained in:
parent
561f555a70
commit
23bfd21bbc
|
@ -2254,6 +2254,8 @@ void Function::addArguments(const SymbolDatabase *symbolDatabase, const Scope *s
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (argType)
|
||||||
|
break;
|
||||||
parent = parent->nestedIn;
|
parent = parent->nestedIn;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue