Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
Qt Creator 4.7.0, Qt Creator 4.8.0-beta1
-
None
-
-
09e495f01a6ef1592b51dde08f459fadafaa9e05
Description
If you have a mismatch between the declaration and definition of a method, you cannot navigate between them when the Clang code model is active, however you (usually) can with the old code model.
For example, if you have this in a header file:
class Foo { public: void foo(int bar); };
and this in a cpp file:
void Foo::foo(int bar) const // <-- declared const here, but not in header { ... }
then you cannot Ctrl+Click on Foo::foo to jump back to the declaration and fix it up when using the Clang code model. This is something that works - and is very useful - with the old code model.