CppTools: Match also function arguments in locator

Useful when there are several overloads for the same function.

Change-Id: I325bda7d2fdf4108f71a61d5473cd55310c51c28
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
Orgad Shaneh
2017-10-30 21:42:18 +02:00
committed by Orgad Shaneh
parent 2d5d62fdbc
commit bacfc28a36
3 changed files with 25 additions and 4 deletions

View File

@@ -12,8 +12,9 @@ int myVariable;
int myFunction(bool yesno, int number) {}
struct Pos {};
void pointOfService() {}
int getPosition() { return 0; }
int matchArgument(Pos p) { return 0; }
int positiveNumber() { return 2; }
enum MyEnum { V1, V2 };