Merge pull request #452 from Dmitry-Me/stopOnceFirstMatchIsFound
Don't proceed to outer scope once match is found
This commit is contained in:
commit
d1d4febebf
|
@ -2254,6 +2254,8 @@ void Function::addArguments(const SymbolDatabase *symbolDatabase, const Scope *s
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (argType)
|
||||
break;
|
||||
parent = parent->nestedIn;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue