Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.8.1, Qt Creator 3.0.0-rc1
-
None
-
151899b1b8a046d9c3c31d229519a2f430f1e514
Description
struct Foo { protected: void foo(int); // 1 void foo() {} // 2 }; void Foo::foo(int) {} // 3
- F2 on [2] jumps to [1] (wrong)
- F2 on [1] jumps to [3] (expected)
- F2 on [3] jumps to [1] (expected)
If the declaration is in the header and the definition in the cpp file, F2 (and even Shift-F2) on [1] jumps to [2].
Attachments
For Gerrit Dashboard: QTCREATORBUG-10295 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
78999,6 | CppTools: Avoid matching function by name only | 3.1 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |