diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2017-10-30 21:42:18 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2017-11-02 09:26:17 +0000 |
commit | bacfc28a36eb858b65e9786061f68f145d4fd5f6 (patch) | |
tree | 187047add90c077b8bc7131e6e0abf9c23739288 /tests/cpplocators | |
parent | 2d5d62fdbc41be6535655f0add2cf4eb1cd35986 (diff) |
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>
Diffstat (limited to 'tests/cpplocators')
-rw-r--r-- | tests/cpplocators/testdata_basic/file1.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cpplocators/testdata_basic/file1.cpp b/tests/cpplocators/testdata_basic/file1.cpp index 5c1e3caff3..ae8cdf9916 100644 --- a/tests/cpplocators/testdata_basic/file1.cpp +++ b/tests/cpplocators/testdata_basic/file1.cpp @@ -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 }; |